diff --git a/freqtrade/util/datetime_helpers.py b/freqtrade/util/datetime_helpers.py index 973a1c51b..66b738e8d 100644 --- a/freqtrade/util/datetime_helpers.py +++ b/freqtrade/util/datetime_helpers.py @@ -37,6 +37,7 @@ def dt_ts_def(dt: Optional[datetime], default: int = 0) -> int: return int(dt.timestamp() * 1000) return default + def dt_ts_none(dt: Optional[datetime]) -> Optional[int]: """ Return dt in ms as a timestamp in UTC.