-
Default to all market hours when no symbol is provided to time rules (#9470)
发布于
2026-05-11 12:55:45 +00:00 | 109 次提交 在此版本后已推送到 master- Default to all market hours when no symbol is provided
Add no-symbol overloads of
AfterMarketOpen,BeforeMarketOpen,
AfterMarketCloseandBeforeMarketCloseso scheduled events can be
defined without referencing a specific security. Per-date, the helpers
pick the earliest open / latest close across the algorithm's
non-always-open exchanges, falling back to US equities (SPY) when no
eligible security is subscribed. US equities are skipped during the
walk since SPY's exchange hours already represent them.Closes #9461.
Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com
- Test that option contracts dedupe to one exchange hours entry
Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com
Co-authored-by: Claude Opus 4.7 (1M context) noreply@anthropic.com
下载附件