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:
2026-05-16 03:44:24 +09:00
parent 90235497ae
commit fdabc69004
3 changed files with 118 additions and 0 deletions

15
signal_v2/holidays.json Normal file
View 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"
]