diff --git a/freqtrade/configuration/timerange.py b/freqtrade/configuration/timerange.py index c3d4d2595..625233754 100644 --- a/freqtrade/configuration/timerange.py +++ b/freqtrade/configuration/timerange.py @@ -34,10 +34,6 @@ class TimeRange: return (self.starttype == other.starttype and self.stoptype == other.stoptype and self.startts == other.startts and self.stopts == other.stopts) - def to_datetime(self) -> (datetime, datetime): - return datetime.fromtimestamp(self.startts, timezone.utc), \ - datetime.fromtimestamp(self.stopts, timezone.utc) - def subtract_start(self, seconds: int) -> None: """ Subtracts from startts if startts is set.