From f0e161a3c69f29b460f399251d18cc8d7d706ff0 Mon Sep 17 00:00:00 2001 From: Jorge Isnardo Altamirano Date: Sat, 11 Mar 2023 17:52:34 +0100 Subject: [PATCH] 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! ``` --- config_examples/config_freqai.example.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config_examples/config_freqai.example.json b/config_examples/config_freqai.example.json index 65a93379e..645c30227 100644 --- a/config_examples/config_freqai.example.json +++ b/config_examples/config_freqai.example.json @@ -48,7 +48,7 @@ ], "freqai": { "enabled": true, - "purge_old_models": 2, + "purge_old_models": true, "train_period_days": 15, "backtest_period_days": 7, "live_retrain_hours": 0,