Dynamic Pairlist for FreqAI (freqtrade)
Project description
refreshpairlist :rocket:
Dynamic Pairlist for FreqAI (freqtrade)
Installation
pip install refreshpairlist
:arrow_right: Remember to correctly configure api_server in your freqtrade configuration file.
:arrow_right: Feel free to customize remotepairlist params under ["freqai"]["remote_pairlist_params"] in your freqtrade configuration file.
Usage
refreshpairlist [-h] --strategy STRATEGY --config CONFIG --db-name DB_NAME [--db-url DB_URL]
--strategy STRATEGY The strategy name to use.
--config CONFIG The target configuration file path.
--db-name DB_NAME The db name of the selected strategy.
--db-url DB_URL The optional db url of the selected strategy. (defaults to main freqtrade directory)
To update pairlist daily, run:
refreshpairlist --strategy MyAwesomeStrategy \
--config user_data/configs/freqai_config.json \
--db-url sqlite:////home/user/freqtrade \
--db-name tradesv3.dryrun.sqlite
The default remotepairlist params set are following:
"remote_pairlist_params": {
"filter": "meme+cpanic+ftok+leveraged",
"minv": 0.1,
"maxv": 0.35,
"mina": 150,
"maxa": -1,
"sort": "marketcap",
"limit": 11,
"sort2": "rolling_volume_7"
}
- filter: exclude certain pairs if applies to market
- minv: min. volatility
- maxv: max. volatility
- mina: min. age
- maxa: max. age
- sort: sort pairlist by
- limit: the number of pairs to update with
- sort2: second sorting method of choice
See remotepairlist for more.
Requirements:
- freqtrade
- requests_ratelimiter
- schedule
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
refreshpairlist-0.0.5.tar.gz
(17.9 kB
view details)
File details
Details for the file refreshpairlist-0.0.5.tar.gz
.
File metadata
- Download URL: refreshpairlist-0.0.5.tar.gz
- Upload date:
- Size: 17.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2735675428b4b75e62b04b32c675df1fa74a78610cb8c973a711b2e13b96b9c |
|
MD5 | 4b70349047a5ca3e8d07d4b068f89a53 |
|
BLAKE2b-256 | 82bf8b7ebce4617a9a513fb65aa76754fc31f18517f1cb9f192fa8aeb95f3b1b |