Skip to content

fix: explain and test the as_of UTC time contract - #90

Merged
Pigbibi merged 2 commits into
mainfrom
fix/as-of-cutoff-diagnostic
Oct 15, 2026
Merged

Pigbibi merged 2 commits into
mainfrom
fix/as-of-cutoff-diagnostic

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Oct 15, 2026

Copy link
Copy Markdown
Contributor

An explicit as_of request made before the next UTC midnight is correctly rejected, but the error omits the date and earliest valid generation time. Include those values and the normalized actual time so callers can correct the request without weakening the closed-day contract.

Document UTC input semantics and empty-input defaults. Add boundary cases for the last microsecond before cutoff, exact equality, and equivalent positive/negative offsets. The cutoff calculation, default dates, freshness checks, advisory decisions, workflow schedules and trading/execution logic are unchanged.

Validation: reproduced the original missing-cutoff diagnostic from the base commit; baseline focused tests: 29 passed; updated full offline suite: 413 passed; git diff --check passed. No advisory review, market-data collection, notification or deployment was dispatched.

Pigbibi and others added 2 commits October 16, 2026 02:30
Co-Authored-By: Codex <noreply@openai.com>
Co-Authored-By: Codex <noreply@openai.com>
@Pigbibi
Pigbibi merged commit 0021c32 into main Oct 15, 2026
3 checks passed
@Pigbibi
Pigbibi deleted the fix/as-of-cutoff-diagnostic branch October 15, 2026 18:33
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.

1 participant