trades_to_ohlcv_multi test adjustment

This commit is contained in:
Matthias 2024-01-23 19:31:40 +01:00
parent 79ecca3e40
commit 96a8263c57

View File

@ -79,8 +79,8 @@ def test_trades_to_ohlcv(trades_history_df, caplog):
('8h', 20_000, 5, 15, '2020-01-01 00:00:00', '2020-01-05 16:00:00', None),
('12h', 20_000, 5, 10, '2020-01-01 00:00:00', '2020-01-05 12:00:00', None),
('1d', 20_000, 5, 5, '2020-01-01 00:00:00', '2020-01-05 00:00:00', 'Sunday'),
('7d', 20_000, 37, 6, '2020-01-01 00:00:00', '2020-02-05 00:00:00', 'Monday'),
('1w', 20_000, 50, 8, '2020-01-01 00:00:00', '2020-02-19 00:00:00', 'Monday'),
('7d', 20_000, 37, 6, '2020-01-06 00:00:00', '2020-02-10 00:00:00', 'Monday'),
('1w', 20_000, 37, 6, '2020-01-06 00:00:00', '2020-02-10 00:00:00', 'Monday'),
('1M', 20_000, 74, 3, '2020-01-01 00:00:00', '2020-03-01 00:00:00', None),
('3M', 20_000, 100, 2, '2020-01-01 00:00:00', '2020-04-01 00:00:00', None),
('1y', 20_000, 1000, 3, '2020-01-01 00:00:00', '2022-01-01 00:00:00', None),