rename _store_dry_order

This commit is contained in:
iuvbio 2019-02-23 16:28:13 +01:00
parent 4d797c9232
commit 403ed48c3e

View File

@ -299,10 +299,10 @@ class Exchange(object):
'fee': None, 'fee': None,
"info": {} "info": {}
} }
self.store_dry_order(dry_order) self._store_dry_order(dry_order)
return dry_order return dry_order
def store_dry_order(self, dry_order: Dict) -> None: def _store_dry_order(self, dry_order: Dict) -> None:
closed_order = dry_order.copy() closed_order = dry_order.copy()
if closed_order["type"] in ["market", "limit"]: if closed_order["type"] in ["market", "limit"]:
closed_order.update({ closed_order.update({