Skip to content

Commit 5c01023

Browse files
committed
feat: add missing freqAI parameters to config schema
1 parent 97d3035 commit 5c01023

File tree

1 file changed

+47
-9
lines changed

1 file changed

+47
-9
lines changed

freqtrade/configuration/config_schema.py

Lines changed: 47 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -965,10 +965,13 @@
965965
"type": "boolean",
966966
"default": False,
967967
},
968-
"keras": {
969-
"description": "Use Keras for model training.",
970-
"type": "boolean",
971-
"default": False,
968+
"identifier": {
969+
"description": (
970+
"A unique ID for the current model. "
971+
"Must be changed when modifying features."
972+
),
973+
"type": "string",
974+
"default": "example",
972975
},
973976
"write_metrics_to_disk": {
974977
"description": "Write metrics to disk?",
@@ -1000,13 +1003,43 @@
10001003
"type": "number",
10011004
"default": 7,
10021005
},
1003-
"identifier": {
1006+
"live_retrain_hours": {
1007+
"description": "Frequency of retraining during dry/live runs.",
1008+
"type": "number",
1009+
"default": 0,
1010+
},
1011+
"expiration_hours": {
10041012
"description": (
1005-
"A unique ID for the current model. "
1006-
"Must be changed when modifying features."
1013+
"Avoid making predictions if a model is more than `expiration_hours` "
1014+
"old. Defaults to 0 (no expiration)."
10071015
),
1008-
"type": "string",
1009-
"default": "example",
1016+
"type": "number",
1017+
"default": 0,
1018+
},
1019+
"save_backtest_models": {
1020+
"description": "Save models to disk when running backtesting.",
1021+
"type": "boolean",
1022+
"default": False,
1023+
},
1024+
"fit_live_predictions_candles": {
1025+
"description": (
1026+
"Number of historical candles to use for computing target (label) "
1027+
"statistics from prediction data, instead of from the training dataset."
1028+
),
1029+
"type": "boolean",
1030+
"default": False,
1031+
},
1032+
"data_kitchen_thread_count": {
1033+
"description": (
1034+
"Designate the number of threads you want to use for data processing "
1035+
"(outlier methods, normalization, etc.)."
1036+
),
1037+
"type": "integer",
1038+
},
1039+
"activate_tensorboard": {
1040+
"description": "Indicate whether or not to activate tensorboard",
1041+
"type": "boolean",
1042+
"default": True,
10101043
},
10111044
"wait_for_training_iteration_on_reload": {
10121045
"description": (
@@ -1024,6 +1057,11 @@
10241057
"type": "boolean",
10251058
"default": False,
10261059
},
1060+
"keras": {
1061+
"description": "Use Keras for model training.",
1062+
"type": "boolean",
1063+
"default": False,
1064+
},
10271065
"feature_parameters": {
10281066
"description": "The parameters used to engineer the feature set",
10291067
"type": "object",

0 commit comments

Comments
 (0)