Skip to content

Commit a2f887a

Browse files
committed
chore: update config schema
1 parent f72e708 commit a2f887a

File tree

1 file changed

+73
-0
lines changed

1 file changed

+73
-0
lines changed

build_helpers/schema.json

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,79 @@
273273
]
274274
}
275275
},
276+
"backtest_cache": {
277+
"description": "Load a cached backtest result no older than specified age.",
278+
"type": "string",
279+
"enum": [
280+
"none",
281+
"day",
282+
"week",
283+
"month"
284+
]
285+
},
286+
"hyperopt_path": {
287+
"description": "Specify additional lookup path for Hyperopt Loss functions.",
288+
"type": "string"
289+
},
290+
"epochs": {
291+
"description": "Number of training epochs for Hyperopt.",
292+
"type": "integer",
293+
"minimum": 1
294+
},
295+
"early_stop": {
296+
"description": "Early stop hyperopt if no improvement after <epochs>. Set to 0 to disable.",
297+
"type": "integer",
298+
"minimum": 0
299+
},
300+
"spaces": {
301+
"description": "Hyperopt parameter spaces to optimize. Default is the default set andincludes all spaces except for 'trailing', 'protection', and 'trades'.",
302+
"type": "array",
303+
"items": {
304+
"type": "string",
305+
"enum": [
306+
"all",
307+
"buy",
308+
"sell",
309+
"roi",
310+
"stoploss",
311+
"trailing",
312+
"protection",
313+
"trades",
314+
"default"
315+
]
316+
},
317+
"default": [
318+
"default"
319+
]
320+
},
321+
"analyze_per_epoch": {
322+
"description": "Perform analysis after each epoch in Hyperopt.",
323+
"type": "boolean"
324+
},
325+
"print_all": {
326+
"description": "Print all hyperopt trials, not just the best ones.",
327+
"type": "boolean",
328+
"default": false
329+
},
330+
"hyperopt_jobs": {
331+
"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.",
332+
"type": "integer",
333+
"default": -1
334+
},
335+
"hyperopt_random_state": {
336+
"description": "Random state for hyperopt trials.",
337+
"type": "integer",
338+
"minimum": 0
339+
},
340+
"hyperopt_min_trades": {
341+
"description": "Minimum number of trades per epoch for hyperopt.",
342+
"type": "integer",
343+
"minimum": 0
344+
},
345+
"hyperopt_loss": {
346+
"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",
347+
"type": "string"
348+
},
276349
"bot_name": {
277350
"description": "Name of the trading bot. Passed via API to a client.",
278351
"type": "string"

0 commit comments

Comments
 (0)