add more log to xt_trader
This commit is contained in:
parent
1308f5c757
commit
e80125140b
@ -74,6 +74,8 @@ class MyXtQuantTraderCallback:
|
||||
logger.info(f"成交回报触发订单状态更新: ID={order_id}, 策略={strategy_name}")
|
||||
else:
|
||||
logger.warning(f"成交回报触发订单状态更新失败: 根据order id未找到策略名 ID={order_id}, 策略={strategy_name}")
|
||||
else:
|
||||
logger.warning(f"成交回报触发订单状态更新失败: trader_instance为空")
|
||||
except Exception as e:
|
||||
logger.error(f"成交回报处理异常: {str(e)}", exc_info=True)
|
||||
def on_stock_position(self, position):
|
||||
|
Loading…
x
Reference in New Issue
Block a user