mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-11-29 08:33:07 +00:00
Double newlines between functions ...
This commit is contained in:
@@ -37,6 +37,7 @@ def dt_ts_def(dt: Optional[datetime], default: int = 0) -> int:
|
|||||||
return int(dt.timestamp() * 1000)
|
return int(dt.timestamp() * 1000)
|
||||||
return default
|
return default
|
||||||
|
|
||||||
|
|
||||||
def dt_ts_none(dt: Optional[datetime]) -> Optional[int]:
|
def dt_ts_none(dt: Optional[datetime]) -> Optional[int]:
|
||||||
"""
|
"""
|
||||||
Return dt in ms as a timestamp in UTC.
|
Return dt in ms as a timestamp in UTC.
|
||||||
|
|||||||
Reference in New Issue
Block a user