Administrator
2024-03-21 300cd8f128dd74ae7c3602ae3895f4d34312193e
l2/l2_transaction_data_manager.py
@@ -120,7 +120,9 @@
                    cls.__latest_sell_order_dict[code][4] = (d[3], d[6])
                else:
                    # 封存数据,计算新起点
                    l2_log.info(code, hx_logger_l2_transaction_sell_order, f"{cls.__latest_sell_order_dict[code]}")
                    # 大于50w的卖单才会保存
                    if cls.__latest_sell_order_dict[code][1] * cls.__latest_sell_order_dict[code][2] > 50*10000:
                        l2_log.info(code, hx_logger_l2_transaction_sell_order, f"{cls.__latest_sell_order_dict[code]}")
                    # 大于50w加入卖单
                    info = cls.__latest_sell_order_dict[code]
                    if info[1] * info[2] >= 500000: