Remove last occurance of timerange index

This commit is contained in:
Matthias 2022-10-04 06:42:04 +02:00
parent 7f475e37d7
commit 7f308c5186
2 changed files with 2 additions and 2 deletions

View File

@ -480,7 +480,7 @@ def test_validate_backtest_data(default_conf, mocker, caplog, testdatadir) -> No
default_conf.update({'strategy': CURRENT_TEST_STRATEGY})
strategy = StrategyResolver.load_strategy(default_conf)
timerange = TimeRange('index', 'index', 200, 250)
timerange = TimeRange()
data = strategy.advise_all_indicators(
load_data(
datadir=testdatadir,

View File

@ -63,7 +63,7 @@ def test_init_plotscript(default_conf, mocker, testdatadir):
def test_add_indicators(default_conf, testdatadir, caplog):
pair = "UNITTEST/BTC"
timerange = TimeRange(None, 'line', 0, -1000)
timerange = TimeRange()
data = history.load_pair_history(pair=pair, timeframe='1m',
datadir=testdatadir, timerange=timerange)