mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-11-29 16:43:06 +00:00
Fix yearly resample timeframe
This commit is contained in:
@@ -133,6 +133,7 @@ def test_timeframe_to_msecs():
|
||||
("1d", '86400s'),
|
||||
("1w", '604800s'),
|
||||
("1M", '1MS'),
|
||||
("1y", '1YS'),
|
||||
])
|
||||
def test_timeframe_to_resample_freq(timeframe, expected):
|
||||
assert timeframe_to_resample_freq(timeframe) == expected
|
||||
|
||||
Reference in New Issue
Block a user