fix(marketdata): respect exchange calendars across automatic workflows - #170
Merged
Merged
Conversation
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.
Background
Calendar startup fetched and decoded decades of A-share history. Several automatic workflows treated weekdays or any open market as permission to process every market, producing holiday reports and simulated fills. Schedule previews showed holiday runs, while market-calendar times and scroll styling made the portfolio UI confusing.
Changes
pnpm check:ui, also included in the existing CI translation-check command and frontend build.Validation
.venv/bin/python -m pytest -q: 936 passed, 3 skipped.pnpm --dir frontend exec vitest run: 192 passed across 46 files.pnpm --dir frontend build: passed.pnpm --dir frontend check:i18n,check:market-colors, andcheck:ui: passed.git diff --check: passed.Local JavaScript validation used Node 24.19.0 and pnpm 9.15.9; CI uses the repository-pinned Node 24.14.0.
Boundaries and risks
Follow-up
Update and verify bundled annual exchange closures and half-days when the next year's schedules are published.