| | |
| | | 华鑫目标代码管理 |
| | | """ |
| | | import json |
| | | import logging |
| | | import socket |
| | | |
| | | from code_attribute import global_data_loader, code_volumn_manager |
| | | from code_attribute import global_data_loader, code_volumn_manager, first_target_code_data_processor |
| | | from code_attribute.code_data_util import ZYLTGBUtil |
| | | from db import redis_manager |
| | | from third_data import kpl_data_manager, kpl_api |
| | |
| | | "zyltgb": zyltgb // 10000, "zyltgbUnit": 1} |
| | | flist.append(fitem) |
| | | print("首板代码数量", len(flist)) |
| | | current_price_process_manager.accept_prices(flist) |
| | | try: |
| | | tick_datas = first_target_code_data_processor.process_first_codes_datas(flist) |
| | | current_price_process_manager.accept_prices(tick_datas) |
| | | except Exception as e: |
| | | logging.exception(e) |
| | | |
| | | |
| | | if __name__ == "__main__": |