This commit is contained in:
2025-11-13 17:32:10 +08:00
parent c03a4adb53
commit 550126d060
4 changed files with 327 additions and 302 deletions
+2 -1
View File
@@ -165,7 +165,8 @@ class QmtV(XtQuantTraderCallback):
:param order: XtOrder对象
:return:
"""
print(f'orderd {order.strategy_name}-{order.stock_code} {order.order_id} {order.order_volume}-{order.order_status}')
pass
# print(f'orderd {order.strategy_name}-{order.stock_code} {order.order_id} {order.order_volume}-{order.order_status}')
# stockCode = order.stock_code
# ctrl:SFGridStrategy = self.stock_trade_ctrl[stockCode]
# # 如果存在对应的StockTradeController,则调用其onDataUpdate方法