mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-11-29 08:33:07 +00:00
docs: improve static pairlist documentation
This commit is contained in:
@@ -44,9 +44,24 @@ You may also use something like `.*DOWN/BTC` or `.*UP/BTC` to exclude leveraged
|
|||||||
|
|
||||||
By default, the `StaticPairList` method is used, which uses a statically defined pair whitelist from the configuration. The pairlist also supports wildcards (in regex-style) - so `.*/BTC` will include all pairs with BTC as a stake.
|
By default, the `StaticPairList` method is used, which uses a statically defined pair whitelist from the configuration. The pairlist also supports wildcards (in regex-style) - so `.*/BTC` will include all pairs with BTC as a stake.
|
||||||
|
|
||||||
It uses configuration from `exchange.pair_whitelist` and `exchange.pair_blacklist`.
|
It uses configuration from `exchange.pair_whitelist` and `exchange.pair_blacklist`, which in the below example, will trade BTC/USDT and ETH/USDT - and will prevent BNB/USDT trading.
|
||||||
|
|
||||||
|
Both `pair_*list` parameters support regex - so values like `.*/USDT` would enable trading all pairs that are not in the blacklist.
|
||||||
|
|
||||||
```json
|
```json
|
||||||
|
"exchange": {
|
||||||
|
"name": "...",
|
||||||
|
// ...
|
||||||
|
"pair_whitelist": [
|
||||||
|
"BTC/USDT",
|
||||||
|
"ETH/USDT",
|
||||||
|
// ...
|
||||||
|
],
|
||||||
|
"pair_blacklist": [
|
||||||
|
"BNB/USDT",
|
||||||
|
// ...
|
||||||
|
]
|
||||||
|
},
|
||||||
"pairlists": [
|
"pairlists": [
|
||||||
{"method": "StaticPairList"}
|
{"method": "StaticPairList"}
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user