close dry-run orders in case of market orders
This commit is contained in:
parent
bb0b160001
commit
444ee274d7
@ -371,7 +371,7 @@ class Exchange(object):
|
||||
'side': side,
|
||||
'remaining': amount,
|
||||
'datetime': arrow.utcnow().isoformat(),
|
||||
'status': "open",
|
||||
'status': "closed" if ordertype == "market" else "open",
|
||||
'fee': None,
|
||||
"info": {}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user