Remove startup_candles argument in refresh_data

This commit is contained in:
hroff-1902 2019-12-17 18:23:31 +03:00
parent b2796f99b6
commit 1537389617
2 changed files with 0 additions and 6 deletions

View File

@ -206,7 +206,6 @@ def refresh_data(datadir: Path,
pairs: List[str],
exchange: Exchange,
timerange: Optional[TimeRange] = None,
startup_candles: int = 0,
) -> None:
"""
Refresh ticker history data for a list of pairs.
@ -216,11 +215,7 @@ def refresh_data(datadir: Path,
:param pairs: List of pairs to load
:param exchange: Exchange object
:param timerange: Limit data to be loaded to this timerange
:param startup_candles: Additional candles to load at the start of the period
"""
if startup_candles > 0 and timerange:
logger.info(f'Using indicator startup period: {startup_candles} ...')
for pair in pairs:
_download_pair_history(pair=pair, timeframe=timeframe,
datadir=datadir, timerange=timerange,

View File

@ -101,7 +101,6 @@ class Edge:
exchange=self.exchange,
timeframe=self.strategy.ticker_interval,
timerange=self._timerange,
startup_candles=self.strategy.startup_candle_count,
)
data = history.load_data(