Administrator
2024-04-16 7d18f8d7b81345e957bcc90208402aab6610db0c
添加日志
1个文件已修改
3 ■■■■ 已修改文件
huaxin_client/l1_client_for_output.py 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
huaxin_client/l1_client_for_output.py
@@ -130,6 +130,7 @@
def __upload_codes_info(datas):
    print("上传数据数量", len(datas))
    # if not tool.is_trade_time():
    #     return
    data_bytes = socket_util.load_header(json.dumps({"type": "l1_data", "data": datas}).encode("utf-8"))
@@ -226,7 +227,7 @@
    # 等待程序结束
    while True:
        try:
            # (代码,现价,涨幅,量,时间)
            # (代码,现价,涨幅,量,买5,卖5, 时间)
            datas = []
            while True:
                if not level1_data_queue.empty():