fix: #400 US session transition handling [REQ-OPS-002] [TASK-OPS-002] [TEST-OPS-002] #406

Merged
agentson merged 3 commits from fix/400 into feature/398-400-401 2026-03-04 03:09:36 +09:00
Collaborator

Summary

  • track realtime market state by session_id to detect US_PRE -> US_REG transitions
  • force rescan on session transition regardless of RESCAN interval
  • treat US_DAY as non-tradable in extended-session market availability
  • add tests for session-transition helpers and US_DAY schedule behavior

Traceability

  • REQ-ID: REQ-OPS-002
  • TASK-ID: TASK-OPS-002
  • TEST-ID: TEST-OPS-002

Closes #400

Tests

  • pytest tests/test_main.py tests/test_market_schedule.py tests/test_order_policy.py -q
## Summary - track realtime market state by session_id to detect US_PRE -> US_REG transitions - force rescan on session transition regardless of RESCAN interval - treat US_DAY as non-tradable in extended-session market availability - add tests for session-transition helpers and US_DAY schedule behavior ## Traceability - REQ-ID: REQ-OPS-002 - TASK-ID: TASK-OPS-002 - TEST-ID: TEST-OPS-002 Closes #400 ## Tests - pytest tests/test_main.py tests/test_market_schedule.py tests/test_order_policy.py -q
agentson added 1 commit 2026-03-04 03:07:19 +09:00
fix: handle US session transitions and suppress US_DAY trading (#400)
Some checks failed
Gitea CI / test (pull_request) Failing after 5s
2e3aed5664
Author
Collaborator

Self-review complete: Critical 0 / Major 0 / Minor 0. Merge allowed only when CI checks are all successful.

Self-review complete: Critical 0 / Major 0 / Minor 0. Merge allowed only when CI checks are all successful.
agentson added 1 commit 2026-03-04 03:07:44 +09:00
chore: retrigger CI for PR #406
Some checks failed
Gitea CI / test (pull_request) Failing after 6s
47a87fa2f6
agentson added 1 commit 2026-03-04 03:08:49 +09:00
style: sort imports for main tests
All checks were successful
Gitea CI / test (pull_request) Successful in 35s
a67a9aa41f
agentson merged commit bacb0d2037 into feature/398-400-401 2026-03-04 03:09:36 +09:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: jihoson/The-Ouroboros#406