From a0d774fdc4e3be40e4ca138782f38f0db37a88fb Mon Sep 17 00:00:00 2001 From: Timothy Pogue Date: Mon, 5 Sep 2022 20:23:00 -0600 Subject: [PATCH] change default initial candle limit to 1500 --- freqtrade/constants.py | 3 +-- freqtrade/rpc/external_message_consumer.py | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/freqtrade/constants.py b/freqtrade/constants.py index 03030d930..2279acc13 100644 --- a/freqtrade/constants.py +++ b/freqtrade/constants.py @@ -508,9 +508,8 @@ CONF_SCHEMA = { 'remove_signals_analyzed_df': {'type': 'boolean', 'default': False}, 'initial_candle_limit': { 'type': 'integer', - 'minimum': 100, 'maximum': 1500, - 'default': 500 + 'default': 1500 } }, 'required': ['producers'] diff --git a/freqtrade/rpc/external_message_consumer.py b/freqtrade/rpc/external_message_consumer.py index 7f2ac01fb..f0b177647 100644 --- a/freqtrade/rpc/external_message_consumer.py +++ b/freqtrade/rpc/external_message_consumer.py @@ -55,7 +55,7 @@ class ExternalMessageConsumer: self.sleep_time = self._emc_config.get('sleep_time', 5) # The amount of candles per dataframe on the initial request - self.initial_candle_limit = self._emc_config.get('initial_candle_limit', 500) + self.initial_candle_limit = self._emc_config.get('initial_candle_limit', 1500) # Setting these explicitly as they probably shouldn't be changed by a user # Unless we somehow integrate this with the strategy to allow creating