2021-09-03 07:23:26 +00:00
|
|
|
{%set volume_pairlist = '{
|
|
|
|
"method": "VolumePairList",
|
|
|
|
"number_assets": 20,
|
|
|
|
"sort_key": "quoteVolume",
|
|
|
|
"min_value": 0,
|
|
|
|
"refresh_period": 1800
|
|
|
|
}' %}
|
2020-01-29 06:01:32 +00:00
|
|
|
{
|
2020-01-29 19:27:38 +00:00
|
|
|
"max_open_trades": {{ max_open_trades }},
|
2020-01-29 06:01:32 +00:00
|
|
|
"stake_currency": "{{ stake_currency }}",
|
|
|
|
"stake_amount": {{ stake_amount }},
|
|
|
|
"tradable_balance_ratio": 0.99,
|
2021-11-01 12:39:25 +00:00
|
|
|
"fiat_display_currency": "{{ fiat_display_currency }}",{{ ('\n "timeframe": "' + timeframe + '",') if timeframe else '' }}
|
2020-01-29 06:01:32 +00:00
|
|
|
"dry_run": {{ dry_run | lower }},
|
2020-04-24 22:16:52 +00:00
|
|
|
"cancel_open_orders_on_exit": false,
|
2022-02-02 13:46:44 +00:00
|
|
|
"trading_mode": "{{ trading_mode }}",
|
|
|
|
"margin_mode": "{{ margin_mode }}",
|
2020-01-29 06:01:32 +00:00
|
|
|
"unfilledtimeout": {
|
2022-03-26 10:55:11 +00:00
|
|
|
"entry": 10,
|
|
|
|
"exit": 10,
|
2022-01-16 12:16:49 +00:00
|
|
|
"exit_timeout_count": 0,
|
2021-05-20 04:25:40 +00:00
|
|
|
"unit": "minutes"
|
2020-01-29 06:01:32 +00:00
|
|
|
},
|
|
|
|
"bid_strategy": {
|
2020-02-26 19:03:03 +00:00
|
|
|
"price_side": "bid",
|
2020-01-29 06:01:32 +00:00
|
|
|
"ask_last_balance": 0.0,
|
2021-06-26 06:19:37 +00:00
|
|
|
"use_order_book": true,
|
2020-01-29 06:01:32 +00:00
|
|
|
"order_book_top": 1,
|
|
|
|
"check_depth_of_market": {
|
|
|
|
"enabled": false,
|
|
|
|
"bids_to_ask_delta": 1
|
|
|
|
}
|
|
|
|
},
|
2020-02-09 10:41:29 +00:00
|
|
|
"ask_strategy": {
|
2020-02-26 19:03:03 +00:00
|
|
|
"price_side": "ask",
|
2021-06-26 06:19:37 +00:00
|
|
|
"use_order_book": true,
|
2021-08-13 15:14:38 +00:00
|
|
|
"order_book_top": 1
|
2020-01-29 06:01:32 +00:00
|
|
|
},
|
2020-02-08 12:51:55 +00:00
|
|
|
{{ exchange | indent(4) }},
|
2020-01-29 06:01:32 +00:00
|
|
|
"pairlists": [
|
2021-09-03 07:23:26 +00:00
|
|
|
{{ '{"method": "StaticPairList"}' if exchange_name == 'bittrex' else volume_pairlist }}
|
2020-01-29 06:01:32 +00:00
|
|
|
],
|
|
|
|
"edge": {
|
|
|
|
"enabled": false,
|
|
|
|
"process_throttle_secs": 3600,
|
|
|
|
"calculate_since_number_of_days": 7,
|
|
|
|
"allowed_risk": 0.01,
|
|
|
|
"stoploss_range_min": -0.01,
|
|
|
|
"stoploss_range_max": -0.1,
|
|
|
|
"stoploss_range_step": -0.01,
|
|
|
|
"minimum_winrate": 0.60,
|
|
|
|
"minimum_expectancy": 0.20,
|
|
|
|
"min_trade_number": 10,
|
|
|
|
"max_trade_duration_minute": 1440,
|
|
|
|
"remove_pumps": false
|
|
|
|
},
|
|
|
|
"telegram": {
|
|
|
|
"enabled": {{ telegram | lower }},
|
|
|
|
"token": "{{ telegram_token }}",
|
|
|
|
"chat_id": "{{ telegram_chat_id }}"
|
|
|
|
},
|
2020-05-31 07:57:31 +00:00
|
|
|
"api_server": {
|
2021-03-28 18:19:39 +00:00
|
|
|
"enabled": {{ api_server | lower }},
|
|
|
|
"listen_ip_address": "{{ api_server_listen_addr | default("127.0.0.1", true) }}",
|
2020-05-31 07:57:31 +00:00
|
|
|
"listen_port": 8080,
|
2021-02-26 06:58:15 +00:00
|
|
|
"verbosity": "error",
|
|
|
|
"enable_openapi": false,
|
2021-03-28 18:19:39 +00:00
|
|
|
"jwt_secret_key": "{{ api_server_jwt_key }}",
|
2020-06-24 18:32:19 +00:00
|
|
|
"CORS_origins": [],
|
2021-03-28 18:19:39 +00:00
|
|
|
"username": "{{ api_server_username }}",
|
|
|
|
"password": "{{ api_server_password }}"
|
2020-05-31 07:57:31 +00:00
|
|
|
},
|
2021-01-16 15:19:49 +00:00
|
|
|
"bot_name": "freqtrade",
|
2020-01-29 06:01:32 +00:00
|
|
|
"initial_state": "running",
|
|
|
|
"forcebuy_enable": false,
|
|
|
|
"internals": {
|
|
|
|
"process_throttle_secs": 5
|
|
|
|
}
|
|
|
|
}
|