| | |
| | | |
| | | def process_first_codes_datas(dataList, request_id=None): |
| | | logger_l2_codes_subscript.info(f"{request_id}加载l2代码相关数据") |
| | | print("首板代码数量:", len(dataList)) |
| | | # 获取最近5天的交易日期,为后面的数据计算做准备 |
| | | HistoryKDatasUtils.get_latest_trading_date_cache(5) |
| | | limit_up_price_dict = {} |
| | |
| | | # gpcode_manager.get_limit_up_price(code), |
| | | # volumes_data) |
| | | except Exception as e: |
| | | logger_first_code_record.error(f"{code}:{str(e)}") |
| | | logger_first_code_record.error(f"{request_id}-{code}:{str(e)}") |
| | | logger_first_code_record.exception(e) |
| | | |
| | | logger_l2_codes_subscript.info(f"{request_id}加载l2代码K线结束") |