[Mod] complete test of mini_gateway
This commit is contained in:
parent
c7621cbfa3
commit
cf7b89365a
@ -469,10 +469,7 @@ class MiniTdApi(TdApi):
|
||||
|
||||
def onRspQryInvestorPosition(self, data: dict, error: dict, reqid: int, last: bool):
|
||||
""""""
|
||||
if not data:
|
||||
print(data, error, reqid, last)
|
||||
return
|
||||
|
||||
if data:
|
||||
# Get buffered position object
|
||||
key = f"{data['InstrumentID'], data['PosiDirection']}"
|
||||
position = self.positions.get(key, None)
|
||||
|
Loading…
Reference in New Issue
Block a user