set initial open_rate and amount in create_trade

This is mostly needed by dry_run
This commit is contained in:
gcarq
2017-11-01 00:54:16 +01:00
parent 1e5b0e8726
commit 543857ddb2
5 changed files with 28 additions and 47 deletions

View File

@@ -106,9 +106,7 @@ def cancel_order(order_id: str) -> None:
def get_order(order_id: str) -> Dict:
if _CONF['dry_run']:
return {
}
return {}
return _API.get_order(order_id)