mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-12-01 17:43:06 +00:00
chore: don't use deprecated pandas timeperiod
This commit is contained in:
@@ -213,7 +213,7 @@ def _get_resample_from_period(period: str) -> str:
|
||||
if period == "month":
|
||||
return "1ME"
|
||||
if period == "year":
|
||||
return "1Y"
|
||||
return "1YE"
|
||||
raise ValueError(f"Period {period} is not supported.")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user