Mark _DRY_RUN_OPEN_ORDERS global in get_order.
This commit is contained in:
parent
fb49d706d0
commit
16cf7e10bd
@ -346,6 +346,7 @@ def cancel_order(order_id: str, pair: str) -> None:
|
||||
@retrier
|
||||
def get_order(order_id: str, pair: str) -> Dict:
|
||||
if _CONF['dry_run']:
|
||||
global _DRY_RUN_OPEN_ORDERS
|
||||
order = _DRY_RUN_OPEN_ORDERS[order_id]
|
||||
order.update({
|
||||
'id': order_id
|
||||
|
Loading…
Reference in New Issue
Block a user