mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-12-03 02:23:05 +00:00
use pairlist_pos remove unused check, fixed Test
This commit is contained in:
@@ -239,7 +239,9 @@ def test_remote_pairlist_blacklist(mocker, rpl_config, caplog, markets, tickers)
|
||||
}
|
||||
|
||||
rpl_config['pairlists'] = [
|
||||
{'method': 'StaticPairList'},
|
||||
{
|
||||
"method": "StaticPairList",
|
||||
},
|
||||
{
|
||||
"method": "RemotePairList",
|
||||
"mode": "blacklist",
|
||||
@@ -262,7 +264,9 @@ def test_remote_pairlist_blacklist(mocker, rpl_config, caplog, markets, tickers)
|
||||
pairlistmanager = PairListManager(exchange, rpl_config)
|
||||
|
||||
remote_pairlist = RemotePairList(exchange, pairlistmanager, rpl_config,
|
||||
rpl_config['pairlists'][1], 0)
|
||||
rpl_config["pairlists"][1], 1)
|
||||
|
||||
print(remote_pairlist._pairlistconfig)
|
||||
|
||||
pairs, time_elapsed = remote_pairlist.fetch_pairlist()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user