Skip to content

fix: preserve observed price gaps in ordinary HK backtests - #230

Merged
Pigbibi merged 1 commit into
mainfrom
fix/audit-f3-data-integrity-20260908
Sep 7, 2026
Merged

Pigbibi merged 1 commit into
mainfrom
fix/audit-f3-data-integrity-20260908

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Scope

Audit F3: ordinary ETF and combo backtests preserve original missing prices and observed dates instead of using the live-signal forward-filled matrix. Existing fill/mark validation rejects missing, nonpositive or nonfinite prices only when consumed. Dividend proxy prices retain source availability, including basket fallback; modeled prices cannot conceal missing source observations.

Live signal history, promotion contracts, fees and portfolio accounting are unchanged. A small private backtest helper is shared by the two actual consumers; no new package/public protocol or dependency.

Verification

  • Final regression tests on base: 14 failed / 4 passed.
  • Offline full suite: 178 passed / 7 subtests passed. Ruff, pip check, diff and wheel/sdist build passed.
  • Actual QPK c812ed70 matches the unchanged lock.
  • Coverage includes fill/mark gaps, omitted rows, all-missing observed dates, dividend source gaps and valid cash/unheld-gap behavior.

Limits

Historical outputs are not rewritten or revalidated. No provider, data acquisition/replay, model call, deployment or runtime configuration change. Main push runs CI; scheduled research workflows were not triggered.

Co-Authored-By: Codex <noreply@openai.com>
@Pigbibi
Pigbibi merged commit 39dec7e into main Sep 7, 2026
1 check passed
@Pigbibi
Pigbibi deleted the fix/audit-f3-data-integrity-20260908 branch September 7, 2026 22:16
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