[SQUASH] Get rid of _initialize() and fix informatives for dynamic pairlists.
This commit is contained in:
@@ -160,9 +160,8 @@ def test_informative_decorator(mocker, default_conf):
|
||||
mocker.patch.object(strategy.dp, 'current_whitelist', return_value=[
|
||||
'XRP/USDT', 'LTC/USDT', 'BTC/USDT'
|
||||
])
|
||||
strategy._initialize()
|
||||
|
||||
assert len(strategy._ft_informative) == 8
|
||||
assert len(strategy._ft_informative) == 6 # Equal to number of decorators used
|
||||
informative_pairs = [('XRP/USDT', '1h'), ('LTC/USDT', '1h'), ('XRP/USDT', '30m'),
|
||||
('LTC/USDT', '30m'), ('BTC/USDT', '1h'), ('BTC/USDT', '30m'),
|
||||
('BTC/USDT', '5m'), ('ETH/BTC', '1h'), ('ETH/USDT', '30m')]
|
||||
|
Reference in New Issue
Block a user