This commit is contained in:
Pan Long
2018-06-06 13:54:46 +00:00
committed by GitHub

View File

@@ -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