From a2f887aabbf3168af8de8541e8482fe9b1062e85 Mon Sep 17 00:00:00 2001 From: Matthias Date: Thu, 30 Oct 2025 06:36:13 +0100 Subject: [PATCH] chore: update config schema --- build_helpers/schema.json | 73 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) diff --git a/build_helpers/schema.json b/build_helpers/schema.json index 42beb45ca..fd45e1cde 100644 --- a/build_helpers/schema.json +++ b/build_helpers/schema.json @@ -273,6 +273,79 @@ ] } }, + "backtest_cache": { + "description": "Load a cached backtest result no older than specified age.", + "type": "string", + "enum": [ + "none", + "day", + "week", + "month" + ] + }, + "hyperopt_path": { + "description": "Specify additional lookup path for Hyperopt Loss functions.", + "type": "string" + }, + "epochs": { + "description": "Number of training epochs for Hyperopt.", + "type": "integer", + "minimum": 1 + }, + "early_stop": { + "description": "Early stop hyperopt if no improvement after . Set to 0 to disable.", + "type": "integer", + "minimum": 0 + }, + "spaces": { + "description": "Hyperopt parameter spaces to optimize. Default is the default set andincludes all spaces except for 'trailing', 'protection', and 'trades'.", + "type": "array", + "items": { + "type": "string", + "enum": [ + "all", + "buy", + "sell", + "roi", + "stoploss", + "trailing", + "protection", + "trades", + "default" + ] + }, + "default": [ + "default" + ] + }, + "analyze_per_epoch": { + "description": "Perform analysis after each epoch in Hyperopt.", + "type": "boolean" + }, + "print_all": { + "description": "Print all hyperopt trials, not just the best ones.", + "type": "boolean", + "default": false + }, + "hyperopt_jobs": { + "description": "The number of concurrently running jobs for hyperoptimization (hyperopt worker processes). If -1 (default), all CPUs are used, for -2, all CPUs but one are used, etc. If 1 is given, no parallel computing is used.", + "type": "integer", + "default": -1 + }, + "hyperopt_random_state": { + "description": "Random state for hyperopt trials.", + "type": "integer", + "minimum": 0 + }, + "hyperopt_min_trades": { + "description": "Minimum number of trades per epoch for hyperopt.", + "type": "integer", + "minimum": 0 + }, + "hyperopt_loss": { + "description": "The class name of the hyperopt loss function class (IHyperOptLoss). Different functions can generate completely different results, since the target for optimization is different. Built-in Hyperopt-loss-functions are: ShortTradeDurHyperOptLoss, OnlyProfitHyperOptLoss, SharpeHyperOptLoss, SharpeHyperOptLossDaily, SortinoHyperOptLoss, SortinoHyperOptLossDaily, CalmarHyperOptLoss, MaxDrawDownHyperOptLoss, MaxDrawDownRelativeHyperOptLoss, MaxDrawDownPerPairHyperOptLoss, ProfitDrawDownHyperOptLoss, MultiMetricHyperOptLoss", + "type": "string" + }, "bot_name": { "description": "Name of the trading bot. Passed via API to a client.", "type": "string"