Ignore deleted or expired orders

This commit is contained in:
Ed 2023-01-18 19:10:46 +01:00
parent a164b228e6
commit d316ed9216
1 changed files with 1 additions and 0 deletions

1
ext.py
View File

@ -179,6 +179,7 @@ class OrderManager:
data = res.json()
for o in data['results']:
if o['status'] in ['c', 'e']: continue
self.add_cache(Order(o))
# If a cached order is needed, just get it if available