| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Crypto Flow - Airflow tasks for buying the dip and dollar cost averaging
Assumed you can setup your own Apache Airflow environment.
See variables_example.json for example configuration.
To configure an exchange, simply add Airflow varibles for your exchange API keys.
Currently supported exchanges are:
If you added the CRYPTOFLOW_CONFIG variable you can adjust buy options there. Alternatively, you can update the buy options in cryptoflow/config.py.
DEFAULT_CF_CONFIG dictionary: https://github.com/foospidy/cryptoflow/blob/main/dags/cryptoflow/default_config.py#L4
Example entry:
"BTC": {
"btd": {
"amount_usd": 5,
"dip_price": 33000,
"schedule": "*/60 * * * *",
"smallest_unit": 8
},
"dca": {
"amount_usd": 10,
"schedule": "0 5 * * 1"
}
},
| Back | FazBrowse Home | New Git URL |