Ignore deleted or expired orders
This commit is contained in:
parent
a164b228e6
commit
d316ed9216
1
ext.py
1
ext.py
|
@ -179,6 +179,7 @@ class OrderManager:
|
||||||
|
|
||||||
data = res.json()
|
data = res.json()
|
||||||
for o in data['results']:
|
for o in data['results']:
|
||||||
|
if o['status'] in ['c', 'e']: continue
|
||||||
self.add_cache(Order(o))
|
self.add_cache(Order(o))
|
||||||
|
|
||||||
# If a cached order is needed, just get it if available
|
# If a cached order is needed, just get it if available
|
||||||
|
|
Loading…
Reference in New Issue