]> Piment Noir Git Repositories - freqai-strategies.git/commit
refactor: extract ensure_datetime_series helper for date dtype workaround
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Thu, 30 Apr 2026 22:51:29 +0000 (00:51 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Thu, 30 Apr 2026 22:51:29 +0000 (00:51 +0200)
commitce843f94526ff07ef59807dd482223941800da99
tree1be7a993aab8e29ea1bb8627678ad00f92e16c78
parent6c4f5b8c8c6b0a737bf72038d2d976ed08a9cecb
refactor: extract ensure_datetime_series helper for date dtype workaround

Centralizes the int64 epoch-ms vs datetime detection logic into a shared
helper. Handles both formats correctly: unit='ms' for int64, passthrough
for existing datetime columns.

Ref: https://github.com/freqtrade/freqtrade/issues/13107
ReforceXY/user_data/strategies/RLAgentStrategy.py
quickadapter/user_data/freqaimodels/QuickAdapterRegressorV3.py
quickadapter/user_data/strategies/QuickAdapterV3.py
quickadapter/user_data/strategies/Utils.py