Use volumePairlist instead of staticPairlist in generated config

This commit is contained in:
Matthias 2021-09-03 09:23:26 +02:00
parent c489e6825c
commit b4130dfabb
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,10 @@
{%set volume_pairlist = '{
"method": "VolumePairList",
"number_assets": 20,
"sort_key": "quoteVolume",
"min_value": 0,
"refresh_period": 1800
}' %}
{
"max_open_trades": {{ max_open_trades }},
"stake_currency": "{{ stake_currency }}",
@ -29,7 +36,7 @@
},
{{ exchange | indent(4) }},
"pairlists": [
{"method": "StaticPairList"}
{{ '{"method": "StaticPairList"}' if exchange_name == 'bittrex' else volume_pairlist }}
],
"edge": {
"enabled": false,

View File

@ -10,6 +10,6 @@
"pair_whitelist": [
],
"pair_blacklist": [
"BNB/.*",
"BNB/.*"
]
}