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.2.tar.gz
(17.8 kB
view details)
Built Distribution
File details
Details for the file refreshpairlist-0.0.2.tar.gz
.
File metadata
- Download URL: refreshpairlist-0.0.2.tar.gz
- Upload date:
- Size: 17.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e8fec64e4aca92086c321a3e473986f796d936823807d9e2025fdaa9e3ef37a |
|
MD5 | 68f8282bee39489b2b8e4ef981155659 |
|
BLAKE2b-256 | aa9254c6b5f8a8aef55b57b0f84640d55fb4c6f8b7dbe21e46b0ada47a578271 |
File details
Details for the file refreshpairlist-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: refreshpairlist-0.0.2-py3-none-any.whl
- Upload date:
- Size: 19.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65c5a28a9aaf0fe6160a1cad6c7c863c2fe99147230e7d3184c3169033da47ed |
|
MD5 | 6b202055aa5ac1dadbcad64117a8b957 |
|
BLAKE2b-256 | d50a03c42525841a89e39563488b1db4beb24ee32b3512f913575617128e5b37 |