servers/data_server.py | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
servers/data_server.py
@@ -66,6 +66,13 @@ # 统计目前为止的代码涨停数量(分涨停原因) currents = LimitUpDataConstant.current_limit_up_datas records = LimitUpDataConstant.history_limit_up_datas if not currents: currents = self.__kplDataManager.get_data(KPLDataType.LIMIT_UP) # 获取历史涨停 if not records: KPLLimitUpDataRecordManager.load_total_datas() records = KPLLimitUpDataRecordManager.total_datas records_map = {x[3]: x for x in records} current_codes = [d[0] for d in currents] record_codes = [d[3] for d in records]