do not remove order from dry_run order list
This commit is contained in:
parent
b82c4444b2
commit
0a5eba64e2
@ -135,7 +135,7 @@ def cancel_order(order_id: str) -> None:
|
||||
|
||||
def get_order(order_id: str) -> Dict:
|
||||
if _CONF['dry_run']:
|
||||
order = _DRY_RUN_OPEN_ORDERS.pop(order_id)
|
||||
order = _DRY_RUN_OPEN_ORDERS[order_id]
|
||||
order.update({
|
||||
'id': order_id
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user