This commit is contained in:
David Brazda
2023-04-17 15:41:09 +02:00
parent f4fbda7daf
commit 9f5aa5cf4d

View File

@ -117,8 +117,7 @@ class StrategyOrderLimitVykladaci(Strategy):
#nejprve vyhodime z pendingbuys #nejprve vyhodime z pendingbuys
self.state.vars.pendingbuys.pop(key, False) self.state.vars.pendingbuys.pop(key, False)
res = self.interface.cancel(key) res = self.interface.cancel(key)
if res < 0: print("CANCEL PENDING BUYS RETURN", res)
print("ERROR CANCEL PENDING BUYS")
self.state.vars.pendingbuys={} self.state.vars.pendingbuys={}
self.state.vars.jevylozeno = 0 self.state.vars.jevylozeno = 0
print("cancel pending buys end") print("cancel pending buys end")