diff --git a/tests/rpc/test_rpc_telegram.py b/tests/rpc/test_rpc_telegram.py index 59a531c27..4e659deb0 100644 --- a/tests/rpc/test_rpc_telegram.py +++ b/tests/rpc/test_rpc_telegram.py @@ -1154,6 +1154,7 @@ async def test_telegram_forceexit_handle(default_conf, update, ticker, fee, 'profit_amount': 6.314e-05, 'profit_ratio': 0.0629778, 'stake_currency': 'BTC', + 'quote_currency': 'BTC', 'base_currency': 'ETH', 'fiat_currency': 'USD', 'buy_tag': ANY, @@ -1228,6 +1229,7 @@ async def test_telegram_force_exit_down_handle(default_conf, update, ticker, fee 'profit_amount': -5.497e-05, 'profit_ratio': -0.05482878, 'stake_currency': 'BTC', + 'quote_currency': 'BTC', 'base_currency': 'ETH', 'fiat_currency': 'USD', 'buy_tag': ANY, @@ -1292,6 +1294,7 @@ async def test_forceexit_all_handle(default_conf, update, ticker, fee, mocker) - 'profit_amount': -4.09e-06, 'profit_ratio': -0.00408133, 'stake_currency': 'BTC', + 'quote_currency': 'BTC', 'base_currency': 'ETH', 'fiat_currency': 'USD', 'buy_tag': ANY, diff --git a/tests/test_freqtradebot.py b/tests/test_freqtradebot.py index bff32c33f..2d96da283 100644 --- a/tests/test_freqtradebot.py +++ b/tests/test_freqtradebot.py @@ -3779,6 +3779,7 @@ def test_execute_trade_exit_up(default_conf_usdt, ticker_usdt, fee, ticker_usdt_ 'profit_amount': 0.29554455 if is_short else 5.685, 'profit_ratio': 0.00493809 if is_short else 0.09451372, 'stake_currency': 'USDT', + 'quote_currency': 'USDT', 'fiat_currency': 'USD', 'base_currency': 'ETH', 'exit_reason': ExitType.ROI.value, @@ -3845,6 +3846,7 @@ def test_execute_trade_exit_down(default_conf_usdt, ticker_usdt, fee, ticker_usd 'profit_amount': -5.65990099 if is_short else -0.00075, 'profit_ratio': -0.0945681 if is_short else -1.247e-05, 'stake_currency': 'USDT', + 'quote_currency': 'USDT', 'base_currency': 'ETH', 'fiat_currency': 'USD', 'exit_reason': ExitType.STOP_LOSS.value, @@ -3932,6 +3934,7 @@ def test_execute_trade_exit_custom_exit_price( 'profit_amount': pytest.approx(profit_amount), 'profit_ratio': profit_ratio, 'stake_currency': 'USDT', + 'quote_currency': 'USDT', 'base_currency': 'ETH', 'fiat_currency': 'USD', 'exit_reason': 'foo', @@ -4006,6 +4009,7 @@ def test_execute_trade_exit_down_stoploss_on_exchange_dry_run( 'profit_amount': -0.3 if is_short else -0.8985, 'profit_ratio': -0.00501253 if is_short else -0.01493766, 'stake_currency': 'USDT', + 'quote_currency': 'USDT', 'fiat_currency': 'USD', 'base_currency': 'ETH', 'exit_reason': ExitType.STOP_LOSS.value, @@ -4273,6 +4277,7 @@ def test_execute_trade_exit_market_order( 'profit_amount': pytest.approx(profit_amount), 'profit_ratio': profit_ratio, 'stake_currency': 'USDT', + 'quote_currency': 'USDT', 'base_currency': 'ETH', 'fiat_currency': 'USD', 'exit_reason': ExitType.ROI.value,