new ui
This commit is contained in:
@@ -121,6 +121,14 @@ class DummyQmtV:
|
||||
return type('DummyPos', (), pos)()
|
||||
return None
|
||||
|
||||
def queryTodayOrders(self) -> list:
|
||||
"""查询当日所有委托 (模拟)"""
|
||||
return list(self._pending_orders)
|
||||
|
||||
def queryTodayTrades(self) -> list:
|
||||
"""查询当日所有成交 (模拟)"""
|
||||
return [] # 模拟模式无实际成交记录
|
||||
|
||||
def queryPendingOrder(self, stock_code: str, tag: str) -> list:
|
||||
"""查询挂单"""
|
||||
return [o for o in self._pending_orders
|
||||
|
||||
Reference in New Issue
Block a user