stable/freqtrade/templates/base_config.json.j2

68 lines
2.1 KiB
Plaintext
Raw Normal View History

{%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
{
"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,
"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 }},
2022-08-05 09:49:51 +00:00
"dry_run_wallet": 1000,
"cancel_open_orders_on_exit": false,
"trading_mode": "{{ trading_mode }}",
"margin_mode": "{{ margin_mode }}",
2020-01-29 06:01:32 +00:00
"unfilledtimeout": {
"entry": 10,
"exit": 10,
2022-01-16 12:16:49 +00:00
"exit_timeout_count": 0,
"unit": "minutes"
2020-01-29 06:01:32 +00:00
},
"entry_pricing": {
"price_side": "same",
"use_order_book": true,
2020-01-29 06:01:32 +00:00
"order_book_top": 1,
2022-03-29 17:07:29 +00:00
"price_last_balance": 0.0,
2020-01-29 06:01:32 +00:00
"check_depth_of_market": {
"enabled": false,
"bids_to_ask_delta": 1
}
},
"exit_pricing":{
"price_side": "same",
"use_order_book": true,
"order_book_top": 1
2020-01-29 06:01:32 +00:00
},
{{ exchange | indent(4) }},
2020-01-29 06:01:32 +00:00
"pairlists": [
{{ '{"method": "StaticPairList"}' if exchange_name == 'bittrex' else volume_pairlist }}
2020-01-29 06:01:32 +00:00
],
"telegram": {
"enabled": {{ telegram | lower }},
"token": "{{ telegram_token }}",
"chat_id": "{{ telegram_chat_id }}"
},
"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) }}",
"listen_port": 8080,
"verbosity": "error",
"enable_openapi": false,
2021-03-28 18:19:39 +00:00
"jwt_secret_key": "{{ api_server_jwt_key }}",
2022-09-09 05:13:05 +00:00
"ws_token": "{{ api_server_ws_token }}",
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 }}"
},
"bot_name": "freqtrade",
2020-01-29 06:01:32 +00:00
"initial_state": "running",
2022-04-08 11:39:41 +00:00
"force_entry_enable": false,
2020-01-29 06:01:32 +00:00
"internals": {
"process_throttle_secs": 5
}
}