Repository navigation
feat(markets): add shared exchange market-open helpers - #807
Conversation
|
@codex review |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. More of your lovely PRs please. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
🛡️ Codex Security Review · Automatically triggeredSecurity review completed. No security issues were found in this pull request. Reviewed commit: Only the user who started this review can view the report in Codex. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
Once complete, Codex will leave suggestions, or a comment if no findings are found. |
AI assistance
What changed
is_market_open_nowandis_market_open_todaytoquant_platform_kit.markets.sessionsand re-exported them fromquant_platform_kit.markets.zoneinfo.ZoneInfoand lazy-importingpandas_market_calendarsonly when no customcalendar_factoryis provided.not covered by the scheduleValueErrorguard so downstream broker Cloud Run entrypoints (CharlesSchwabPlatform,FirstradePlatform) can share a single hardened implementation.How verified
PYTHONPATH=src python3 -m pytest tests/test_market_open_helpers.py -v-> 5 passed.