From c0a593280eb3e425d1d8cd66c2d4f532867bc390 Mon Sep 17 00:00:00 2001 From: Sam Germain Date: Fri, 4 Feb 2022 04:54:16 -0600 Subject: [PATCH] test_exchange.test_cancel_order_dry_run pass leverage to create_order --- tests/exchange/test_exchange.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/exchange/test_exchange.py b/tests/exchange/test_exchange.py index fda66b32e..4e8a4fe6a 100644 --- a/tests/exchange/test_exchange.py +++ b/tests/exchange/test_exchange.py @@ -2558,6 +2558,7 @@ def test_cancel_order_dry_run(default_conf, mocker, exchange_name): amount=5, rate=0.55, time_in_force='gtc', + leverage=1.0, ) cancel_order = exchange.cancel_order(order_id=order['id'], pair='ETH/BTC')