Skip to content

[pull] develop from freqtrade:develop#1690

Merged
pull[bot] merged 7 commits intoUncodedtech:developfrom
freqtrade:develop
Mar 19, 2026
Merged

[pull] develop from freqtrade:develop#1690
pull[bot] merged 7 commits intoUncodedtech:developfrom
freqtrade:develop

Conversation

@pull
Copy link

@pull pull bot commented Mar 19, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

Briarion and others added 7 commits March 16, 2026 08:46
Replace column-by-column DataFrame assignment with dict-based
construction. The previous approach triggered pandas
PerformanceWarning about DataFrame fragmentation when many
prediction columns and their corresponding mean/std columns
were added one at a time.

Also add defensive key checks (label in self.data["labels_mean"])
to prevent KeyError when custom models produce prediction columns
that don't have corresponding entries in labels_mean/labels_std.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…ction

Address review feedback: do_predict and DI_values were still assigned
after DataFrame creation, partially defeating the fragmentation fix.
Now all columns are collected in the dict before the single DataFrame()
call, ensuring zero post-construction column assignments.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
fixes problems where funding-rates may be on the 1st second of the hour
(observed on gate from time to time)
fix: avoid DataFrame fragmentation in get_predictions_to_append
@pull pull bot locked and limited conversation to collaborators Mar 19, 2026
@pull pull bot added the ⤵️ pull label Mar 19, 2026
@pull pull bot merged commit cadb269 into Uncodedtech:develop Mar 19, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants