proper validation of freqai config parameters

This commit is contained in:
robcaulk
2022-05-25 12:37:25 +02:00
parent 7ff3258607
commit 7486d9d9e2
5 changed files with 34 additions and 37 deletions

View File

@@ -515,6 +515,17 @@ SCHEMA_MINIMAL_REQUIRED = [
'dataformat_trades',
]
SCHEMA_FREQAI_REQUIRED = [
'timeframes',
'train_period',
'backtest_period',
'identifier',
'corr_pairlist',
'feature_parameters',
'data_split_parameters',
'model_training_parameters'
]
CANCEL_REASON = {
"TIMEOUT": "cancelled due to timeout",
"PARTIALLY_FILLED_KEEP_OPEN": "partially filled - keeping order open",