purge_old_models is not of type boolean

```
ft_dev_bot | 2023-03-11 17:49:00,782 - freqtrade.configuration.config_validation - INFO - Validating configuration ...
ft_dev_bot | 2023-03-11 17:49:00,784 - freqtrade.configuration.config_validation - CRITICAL - Invalid configuration. Reason: 2 is not of type 'boolean'
ft_dev_bot | 
ft_dev_bot | Failed validating 'type' in schema['properties']['freqai']['properties']['purge_old_models']:
ft_dev_bot |     {'default': True, 'type': 'boolean'}
ft_dev_bot | 
ft_dev_bot | On instance['freqai']['purge_old_models']:
ft_dev_bot |     2
ft_dev_bot | 2023-03-11 17:49:00,785 - freqtrade.commands.trade_commands - ERROR - 2 is not of type 'boolean'
ft_dev_bot | 2023-03-11 17:49:00,785 - freqtrade.commands.trade_commands - ERROR - Fatal exception!
```
This commit is contained in:
Jorge Isnardo Altamirano 2023-03-11 17:52:34 +01:00 committed by GitHub
parent b23841fbfe
commit f0e161a3c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,7 +48,7 @@
], ],
"freqai": { "freqai": {
"enabled": true, "enabled": true,
"purge_old_models": 2, "purge_old_models": true,
"train_period_days": 15, "train_period_days": 15,
"backtest_period_days": 7, "backtest_period_days": 7,
"live_retrain_hours": 0, "live_retrain_hours": 0,