Skip to content

Commit 31e4501

Browse files
committed
docs: improve static pairlist documentation
1 parent c6e64ba commit 31e4501

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

docs/includes/pairlists.md

+16-1
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,24 @@ You may also use something like `.*DOWN/BTC` or `.*UP/BTC` to exclude leveraged
4444

4545
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.
4646

47-
It uses configuration from `exchange.pair_whitelist` and `exchange.pair_blacklist`.
47+
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.
48+
49+
Both `pair_*list` parameters support regex - so values like `.*/USDT` would enable trading all pairs that are not in the blacklist.
4850

4951
```json
52+
"exchange": {
53+
"name": "...",
54+
// ...
55+
"pair_whitelist": [
56+
"BTC/USDT",
57+
"ETH/USDT",
58+
// ...
59+
],
60+
"pair_blacklist": [
61+
"BNB/USDT",
62+
// ...
63+
]
64+
},
5065
"pairlists": [
5166
{"method": "StaticPairList"}
5267
],

0 commit comments

Comments
 (0)