Skip to content

ADR book trades every day: find today's home bar even when Yahoo lists the next session - #32

Merged
ASCoding11 merged 2 commits into
mainfrom
claude/keen-tesla-shs956
Nov 3, 2026
Merged

ASCoding11 merged 2 commits into
mainfrom
claude/keen-tesla-shs956

Conversation

@ASCoding11

Copy link
Copy Markdown
Owner

home_moves kept a home market only if its latest Yahoo row was dated today. The auction sleeve books after the US close, when Sydney, Tokyo and Seoul are about to open and Yahoo already lists their next session. Every market then looked as if it hadn't traded today, so the ADR book was empty on 2026-11-02.

A probe run on Actions confirmed it: run on Nov 3, it finds only Japan for Nov 2 (Japan is closed on Nov 3) and no markets at all for Oct 30.

The fix cuts each price series off at the day being booked before checking for its bar. A regression test is added, which fails without the fix. The one-off probe workflow is removed.


Generated by Claude Code

…s the next session

home_moves kept a home market only if its *latest* Yahoo row was today. The auction
sleeve books after the US close, when Sydney, Tokyo and Seoul are about to open and
Yahoo already lists their next session. Every market looked as if it hadn't traded
today, so the ADR book was empty on 2026-11-02. A probe run on 2026-11-03 confirmed it:
Nov 2 finds only Japan, which is closed on Nov 3, and Oct 30 finds nothing. The series
is now cut at the day being booked before checking for its bar. Regression test added;
the one-off probe workflow is removed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NsPrq53XXinQsUZsWqeKht
@ASCoding11
ASCoding11 merged commit 0e8bcdd into main Nov 3, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants