change default initial candle limit to 1500
This commit is contained in:
parent
b949ea301c
commit
a0d774fdc4
@ -508,9 +508,8 @@ CONF_SCHEMA = {
|
|||||||
'remove_signals_analyzed_df': {'type': 'boolean', 'default': False},
|
'remove_signals_analyzed_df': {'type': 'boolean', 'default': False},
|
||||||
'initial_candle_limit': {
|
'initial_candle_limit': {
|
||||||
'type': 'integer',
|
'type': 'integer',
|
||||||
'minimum': 100,
|
|
||||||
'maximum': 1500,
|
'maximum': 1500,
|
||||||
'default': 500
|
'default': 1500
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
'required': ['producers']
|
'required': ['producers']
|
||||||
|
@ -55,7 +55,7 @@ class ExternalMessageConsumer:
|
|||||||
self.sleep_time = self._emc_config.get('sleep_time', 5)
|
self.sleep_time = self._emc_config.get('sleep_time', 5)
|
||||||
|
|
||||||
# The amount of candles per dataframe on the initial request
|
# 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
|
# Setting these explicitly as they probably shouldn't be changed by a user
|
||||||
# Unless we somehow integrate this with the strategy to allow creating
|
# Unless we somehow integrate this with the strategy to allow creating
|
||||||
|
Loading…
Reference in New Issue
Block a user