Administrator
2023-12-28 5b5edf1f3a78487bae1bebe054a3d37d1d607f88
开盘啦原因输出
1个文件已修改
7 ■■■■ 已修改文件
l2/l2_data_manager_new.py 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
l2/l2_data_manager_new.py
@@ -676,7 +676,12 @@
                        info.set_kpl_blocks([])
                    can_buy_result = CodePlateKeyBuyManager.can_buy(code)
                    if can_buy_result:
                        info.set_kpl_match_blocks(can_buy_result[0])
                        if not can_buy_result[0] and can_buy_result[1]:
                            info.set_kpl_match_blocks(["独苗"])
                        elif not can_buy_result[0] and not can_buy_result[1]:
                            info.set_kpl_match_blocks("非独苗不满足身位")
                        else:
                            info.set_kpl_match_blocks(can_buy_result[0])
                    trade_record_log_util.add_place_order_log(code, info)
                except Exception as e:
                    async_log_util.error(logger_l2_error, f"加入买入记录日志出错:{str(e)}")