diff --git a/tests/data/test_history.py b/tests/data/test_history.py index 12d8d93da..55b8fe1d1 100644 --- a/tests/data/test_history.py +++ b/tests/data/test_history.py @@ -143,7 +143,7 @@ def test_pair_data_filename(): def test_pair_trades_filename(): - fn = pair_trades_filename(Path('freqtrade/hello/world'), 'ETH/BTC', '5m') + fn = pair_trades_filename(Path('freqtrade/hello/world'), 'ETH/BTC') assert isinstance(fn, Path) assert fn == Path('freqtrade/hello/world/ETH_BTC-trades.json') diff --git a/tests/exchange/test_exchange.py b/tests/exchange/test_exchange.py index bf6025322..9e6356b18 100644 --- a/tests/exchange/test_exchange.py +++ b/tests/exchange/test_exchange.py @@ -1453,13 +1453,17 @@ def test_merge_ft_has_dict(default_conf, mocker): assert ex._ft_has == Exchange._ft_has_default ex = Kraken(default_conf) - assert ex._ft_has == Exchange._ft_has_default + assert ex._ft_has != Exchange._ft_has_default + assert ex._ft_has['trades_pagination'] == 'id' + assert ex._ft_has['trades_pagination_arg'] == 'since' # Binance defines different values ex = Binance(default_conf) assert ex._ft_has != Exchange._ft_has_default assert ex._ft_has['stoploss_on_exchange'] assert ex._ft_has['order_time_in_force'] == ['gtc', 'fok', 'ioc'] + assert ex._ft_has['trades_pagination'] == 'id' + assert ex._ft_has['trades_pagination_arg'] == 'fromId' conf = copy.deepcopy(default_conf) conf['exchange']['_ft_has_params'] = {"DeadBeef": 20,