mirror of
https://github.com/freqtrade/freqtrade.git
synced 2026-02-25 13:51:45 +00:00
add mode to set the pairlist to blacklist additional to whitelist
adhere to _number_pairs
This commit is contained in:
@@ -184,6 +184,7 @@ The RemotePairList is defined in the pairlists section of the configuration sett
|
||||
"pairlists": [
|
||||
{
|
||||
"method": "RemotePairList",
|
||||
"mode": "whitelist",
|
||||
"pairlist_url": "https://example.com/pairlist",
|
||||
"number_assets": 10,
|
||||
"refresh_period": 1800,
|
||||
@@ -194,6 +195,8 @@ The RemotePairList is defined in the pairlists section of the configuration sett
|
||||
]
|
||||
```
|
||||
|
||||
The `mode` option specifies if the pairlist should be used as a `blacklist` or as a `whitelist`. The default value is "whitelist".
|
||||
|
||||
The `pairlist_url` option specifies the URL of the remote server where the pairlist is located, or the path to a local file (if file:/// is prepended). This allows the user to use either a remote server or a local file as the source for the pairlist.
|
||||
|
||||
The user is responsible for providing a server or local file that returns a JSON object with the following structure:
|
||||
|
||||
Reference in New Issue
Block a user