diff --git a/tests/test_freqtradebot.py b/tests/test_freqtradebot.py index 1f14be306..531b5df1c 100644 --- a/tests/test_freqtradebot.py +++ b/tests/test_freqtradebot.py @@ -1230,7 +1230,8 @@ def test_create_stoploss_order_insufficient_funds( @pytest.mark.parametrize("is_short,bid,ask,stop_price,amt,hang_price", [ (False, [4.38, 4.16], [4.4, 4.17], ['2.0805', 4.4 * 0.95], 27.39726027, 3), - (True, [1.09, 1.21], [1.1, 1.22], ['2.321', 1.1 * 0.95], 27.39726027, 1.5), + # TODO-lev: Should the stoploss be based off the bid for shorts? (1.09) + (True, [1.09, 1.21], [1.1, 1.22], ['2.321', 1.09 * 1.05], 27.39726027, 1.5), ]) @pytest.mark.usefixtures("init_persistence") def test_handle_stoploss_on_exchange_trailing(