test_exchange.test_cancel_order_dry_run pass leverage to create_order

This commit is contained in:
Sam Germain 2022-02-04 04:54:16 -06:00
parent dc6cb445fd
commit c0a593280e

View File

@ -2558,6 +2558,7 @@ def test_cancel_order_dry_run(default_conf, mocker, exchange_name):
amount=5, amount=5,
rate=0.55, rate=0.55,
time_in_force='gtc', time_in_force='gtc',
leverage=1.0,
) )
cancel_order = exchange.cancel_order(order_id=order['id'], pair='ETH/BTC') cancel_order = exchange.cancel_order(order_id=order['id'], pair='ETH/BTC')