Fix failing test (all timezones are in UTC, so we should not convert to

None)
This commit is contained in:
Matthias
2019-03-23 15:24:11 +01:00
parent 00e6749d8b
commit 40899d08dd
2 changed files with 3 additions and 3 deletions

View File

@@ -32,7 +32,7 @@ class BTContainer(NamedTuple):
def _get_frame_time_from_offset(offset):
return ticker_start_time.shift(minutes=(offset * TICKER_INTERVAL_MINUTES[tests_ticker_interval])
).datetime.replace(tzinfo=None)
).datetime
def _build_backtest_dataframe(ticker_with_signals):