This commit is contained in:
Pan Long 2018-06-06 13:54:46 +00:00 committed by GitHub
commit bb1f2444c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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