Administrator
2024-07-15 c93f9f243018b3fb7931c0e86ff581c5383395a4
bug修复
1个文件已修改
10 ■■■■ 已修改文件
main.py 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
main.py
@@ -404,9 +404,13 @@
            if result:
                # (代码, 最近的价格, 涨幅, 买1价, 买1量, 成交总量, 买入量, 卖出量, 昨日收盘价, 时间戳)
                code_market_manager.set_market_info(result)
                time_str = l2_huaxin_util.convert_time(result[9])
                if int(time_str.split(":", "")) < int("092455"):
                    continue
                try:
                    time_str = l2_huaxin_util.convert_time(result[9])
                    logger_debug.debug("时间:{}-{}", {result[9]}, time_str)
                    if int(time_str.split(":", "")) < int("092455"):
                        continue
                except Exception as e:
                    pass
                code = result[0]
                # 正股需要加载板块
                if code.find("11") != 0 and code.find("12") != 0: