trade/huaxin/huaxin_trade_order_processor.py
@@ -182,6 +182,15 @@ return cls.order_ref_dict.get(order_ref) @classmethod def get_huaxin_sell_order_by_code(cls, code): results = [] for k in cls.order_ref_dict: entity = cls.order_ref_dict[k] if entity.code == code and entity.direction == huaxin_util.TORA_TSTP_D_Sell: results.append(entity) return results @classmethod def order_success(cls, order: HuaxinOrderEntity): async_log_util.info(hx_logger_trade_debug, f"处理华鑫订单下单成功:{order.code}, {order.orderRef}, {order.orderSysID}") # 加入系统订单号