This commit is contained in:
2026-06-05 06:08:27 +08:00
parent 1816d585bf
commit ef4c1cca32
7 changed files with 551 additions and 168 deletions
+2 -1
View File
@@ -280,7 +280,8 @@ class DummyQmtV:
eBus.event_bus.publish(eBus.MarketOrderCreated, response)
def on_order_error(self, order_error):
print(f"\n模拟委托报错回调 {order_error}")
print(f"\n模拟委托报错回调: order_id={order_error.order_id}, error_id={order_error.error_id}, error_msg={order_error.error_msg}, remark={order_error.order_remark}")
eBus.event_bus.publish(eBus.MarketOrderError, order_error)
def on_account_status(self, status):
print(datetime.datetime.now(), status)