Repository navigation
Validate futures timing and regenerate comparable market research - #2
Merged
Merged
Conversation
Record volatility targeting, trend rules, futures beta, and style constraints under one walk-forward so the results can be read against a full CSI 300 position. Co-authored-by: Cursor <cursoragent@cursor.com>
PureSaber
marked this pull request as draft
September 29, 2026 08:32
PureSaber
marked this pull request as ready for review
September 29, 2026 09:13
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the market timing comparison with explicit research costs and correct futures availability. Quarterly roll dates use a separately frozen exchange-session calendar, so truncating the price panel cannot move historical rolls. Pre-listing and source-coverage gaps remain missing; IF fallback requires available IF data, and missing returns on held futures fail closed.
The public activity feed is volume, not CNY turnover. The comparison now uses explicit turnover-based impact, leaves monetary capacity/participation unavailable, and rejects capital estimates without activity.unit: CNY. Monetary impact uses decision-day activity rather than the next day's data.
Rebuilt futures from 82 cached public single-contract series and the independent 2015-2026 calendar; offline reconstruction produces identical SHA-256. Public IF/IC coverage begins 2019-03-08 and IM coverage begins 2022-07-25. All 12 book/model rows now share the 2019-03-08 to 2026-09-28 input window. The comparison table and source/contract documentation were regenerated; old results and capacity claims are superseded.
Validation: 50-test full local suite passed, followed by 15 extension tests including one additional decision-day impact regression (51 distinct tests total); Ruff passed. All 12 regenerated comparisons completed 10 scored folds with leakage checks passing. Added panel-truncation, holiday-calendar, prelisting-gap, IF-fallback, missing-held-return and activity-unit regressions. The source/calendar remain research proxies; this does not certify executable trading performance.