mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-12-14 11:51:19 +00:00
chore: update config schema
This commit is contained in:
@@ -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 <epochs>. 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": {
|
"bot_name": {
|
||||||
"description": "Name of the trading bot. Passed via API to a client.",
|
"description": "Name of the trading bot. Passed via API to a client.",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
|
|||||||
Reference in New Issue
Block a user