feat(signal_v2): scheduler + 5 unit tests
Time-window dispatcher: pre-market (07:00-09:00, 5min), market (09:00-15:30, 1min), post-market (15:30-20:00, 5min), overnight skip to next market day 07:00. Weekend + holiday detection via holidays.json. Stub holidays.json with 13 dates. Task 6 will sync from web-backend/stock/app/holidays.json. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
15
signal_v2/holidays.json
Normal file
15
signal_v2/holidays.json
Normal file
@@ -0,0 +1,15 @@
|
||||
[
|
||||
"2026-01-01",
|
||||
"2026-02-16",
|
||||
"2026-02-17",
|
||||
"2026-03-01",
|
||||
"2026-05-05",
|
||||
"2026-06-06",
|
||||
"2026-08-15",
|
||||
"2026-09-25",
|
||||
"2026-09-26",
|
||||
"2026-09-27",
|
||||
"2026-10-03",
|
||||
"2026-10-09",
|
||||
"2026-12-25"
|
||||
]
|
||||
Reference in New Issue
Block a user