From abef8e376cab91b028b290133548d30827cbb0a2 Mon Sep 17 00:00:00 2001 From: Matthias Date: Thu, 1 Aug 2024 07:03:34 +0200 Subject: [PATCH] feat: add $schema to config examples --- config_examples/config_binance.example.json | 1 + config_examples/config_freqai.example.json | 1 + config_examples/config_full.example.json | 1 + config_examples/config_kraken.example.json | 1 + freqtrade/templates/base_config.json.j2 | 1 + 5 files changed, 5 insertions(+) diff --git a/config_examples/config_binance.example.json b/config_examples/config_binance.example.json index 3a2cea530..6c513f064 100644 --- a/config_examples/config_binance.example.json +++ b/config_examples/config_binance.example.json @@ -1,4 +1,5 @@ { + "$schema": "https://schema.freqtrade.io/schema.json", "max_open_trades": 3, "stake_currency": "USDT", "stake_amount": 0.05, diff --git a/config_examples/config_freqai.example.json b/config_examples/config_freqai.example.json index 27bc4532c..6751002e4 100644 --- a/config_examples/config_freqai.example.json +++ b/config_examples/config_freqai.example.json @@ -1,4 +1,5 @@ { + "$schema": "https://schema.freqtrade.io/schema.json", "trading_mode": "futures", "margin_mode": "isolated", "max_open_trades": 5, diff --git a/config_examples/config_full.example.json b/config_examples/config_full.example.json index cb2d4797e..04137ed80 100644 --- a/config_examples/config_full.example.json +++ b/config_examples/config_full.example.json @@ -1,4 +1,5 @@ { + "$schema": "https://schema.freqtrade.io/schema.json", "max_open_trades": 3, "stake_currency": "BTC", "stake_amount": 0.05, diff --git a/config_examples/config_kraken.example.json b/config_examples/config_kraken.example.json index 420047627..72f5e6b5f 100644 --- a/config_examples/config_kraken.example.json +++ b/config_examples/config_kraken.example.json @@ -1,4 +1,5 @@ { + "$schema": "https://schema.freqtrade.io/schema.json", "max_open_trades": 5, "stake_currency": "EUR", "stake_amount": 10, diff --git a/freqtrade/templates/base_config.json.j2 b/freqtrade/templates/base_config.json.j2 index 4956cf056..86a717a40 100644 --- a/freqtrade/templates/base_config.json.j2 +++ b/freqtrade/templates/base_config.json.j2 @@ -6,6 +6,7 @@ "refresh_period": 1800 }' %} { + "$schema": "https://schema.freqtrade.io/schema.json", "max_open_trades": {{ max_open_trades }}, "stake_currency": "{{ stake_currency }}", "stake_amount": {{ stake_amount }},