Apply startup_period to edge as well

This commit is contained in:
Matthias 2019-10-27 10:18:58 +01:00
parent c4cb098d14
commit 223f0cd4d3
2 changed files with 3 additions and 2 deletions

View File

@ -100,7 +100,8 @@ class Edge:
ticker_interval=self.strategy.ticker_interval,
refresh_pairs=self._refresh_pairs,
exchange=self.exchange,
timerange=self._timerange
timerange=self._timerange,
startup_candles=self.strategy.startup_candle_count,
)
if not data:

View File

@ -256,7 +256,7 @@ def test_edge_heartbeat_calculate(mocker, edge_conf):
def mocked_load_data(datadir, pairs=[], ticker_interval='0m', refresh_pairs=False,
timerange=None, exchange=None):
timerange=None, exchange=None, *args, **kwargs):
hz = 0.1
base = 0.001