Skip to content

fix(research): correct DCA cash-flow drawdowns and causal signals - #540

Merged
Pigbibi merged 1 commit into
mainfrom
fix/dca-research-causality-20260929
Sep 28, 2026
Merged

Pigbibi merged 1 commit into
mainfrom
fix/dca-research-causality-20260929

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Sep 28, 2026

Copy link
Copy Markdown
Contributor

Fix three DCA research errors that can change candidate ranking: contributions previously concealed investment drawdowns, close-derived signals affected fills at the same close, and a zero-duration window could report a spurious annualized money-weighted return.

Preserve the asset curve while scoring a contribution-neutral index under the documented beginning-of-session cash convention. Use only earlier available trading-day signals and align warmup accordingly. Aggregate same-day cash flows and keep undefined returns unavailable through scenario exports. The research note identifies historical outputs that require re-evaluation; no production strategy or frozen dataset is changed.

Validation: 57 targeted research/CLI tests passed; Ruff and diff checks passed. Independent review reproduced the public drawdown, signal-timing and zero-span export cases (6 targeted tests passed). No real market-data replay, deployment or trading was performed.

@Pigbibi
Pigbibi merged commit 59e5099 into main Sep 28, 2026
1 check passed
@Pigbibi
Pigbibi deleted the fix/dca-research-causality-20260929 branch September 28, 2026 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant