close dry-run orders in case of market orders

This commit is contained in:
Matthias 2019-08-12 16:46:34 +02:00
parent bb0b160001
commit 444ee274d7

View File

@ -371,7 +371,7 @@ class Exchange(object):
'side': side, 'side': side,
'remaining': amount, 'remaining': amount,
'datetime': arrow.utcnow().isoformat(), 'datetime': arrow.utcnow().isoformat(),
'status': "open", 'status': "closed" if ordertype == "market" else "open",
'fee': None, 'fee': None,
"info": {} "info": {}
} }