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,
|
'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": {}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user