Skip to content

Add CN equity trading calendar and domain constant#112

Merged
Pigbibi merged 2 commits into
mainfrom
feat/cn-equity-calendar
Jun 27, 2026
Merged

Add CN equity trading calendar and domain constant#112
Pigbibi merged 2 commits into
mainfrom
feat/cn-equity-calendar

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Jun 27, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add cn_equity_calendar.py with SSE holiday set (2024–2026) and trading-day helpers for month-end rebalance and T+1 execution.
  • Export CN_EQUITY_DOMAIN from strategies.py.
  • Bump package version to 0.7.40.

Test plan

  • PYTHONPATH=src python3 -m unittest tests.test_cn_equity_calendar -v

Made with Cursor

Pigbibi and others added 2 commits June 27, 2026 23:38
Embed SSE holidays for 2024-2026 so A-share runtimes can resolve T+1 execution and month-end rebalance dates without external deps.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@Pigbibi Pigbibi merged commit d18fe32 into main Jun 27, 2026
1 check passed
@Pigbibi Pigbibi deleted the feat/cn-equity-calendar branch June 27, 2026 15:40
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