【代码报错】stockranker报错TypeError: '<' not supported between instances of 'NoneType' and 'int'

请教:报TypeError: '<' not supported between instances of 'NoneType' and 'int'是什么原因?

BigQuant CodeShare