mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-12-02 10:03:05 +00:00
Impove tests for yearly resample
This commit is contained in:
@@ -157,6 +157,7 @@ def test_ohlcv_to_dataframe_multi(timeframe):
|
||||
assert len(df) == len(data) - 1
|
||||
df1 = ohlcv_to_dataframe(data, timeframe, 'UNITTEST/USDT', drop_incomplete=False)
|
||||
assert len(df1) == len(data)
|
||||
assert data.equals(df1)
|
||||
|
||||
data1 = data.copy()
|
||||
data1.loc[:, 'date'] = data1.loc[:, 'date'] + pd.to_timedelta('30s')
|
||||
|
||||
Reference in New Issue
Block a user