fixed test_update_trade_state_sell

This commit is contained in:
Sam Germain
2021-10-03 23:13:34 -06:00
parent 2a2b759419
commit 9046caa27c
2 changed files with 10 additions and 3 deletions

View File

@@ -800,8 +800,14 @@ class Exchange:
rate_for_order = self.price_to_precision(pair, rate) if needs_price else None
self._lev_prep(pair, leverage)
order = self._api.create_order(pair, ordertype, side,
amount, rate_for_order, params)
order = self._api.create_order(
pair,
ordertype,
side,
amount,
rate_for_order,
params
)
self._log_exchange_response('create_order', order)
return order