piker/piker/brokers
Gud Boi 84292898ac Retry incomplete IB schedule coverage
A one-day MNQ schedule reply can start in the next session,
leaving the gap's earlier trading hours uncovered. Widen
`Client.history_schedule()` lookbacks up to 31 days, keeping the
requested end fixed and sharing one timeout across attempts.
Preserve unknown coverage when widening cannot cover the range.
Share `SECONDS_PER_DAY` between query and reservation arithmetic,
with one explanation of elapsed versus calendar/session days.

Replay the captured MNQ replies through the allocator: reserve
51,824 candidate slots while excluding the maintenance closure.
Cover bounded retries and timeout cancellation, and document the
query contract. This does not repair existing SHM or parquet.

Prompt-IO: ai/prompt-io/codex/20260924T232405Z_441358e2_schedule_coverage_prompt_io.md

(this patch was generated in some part by `codex` using
`gpt-6` (`openai`))
2026-11-13 17:30:25 -05:00
..
binance Declare per-daemon-kind backend mod groups 2026-11-09 17:02:44 -05:00
deribit Declare per-daemon-kind backend mod groups 2026-11-09 17:02:44 -05:00
ib Retry incomplete IB schedule coverage 2026-11-13 17:30:25 -05:00
kraken Declare per-daemon-kind backend mod groups 2026-11-09 17:02:44 -05:00
__init__.py Use `__name__` for loggers across most sub-mods 2026-02-23 12:22:48 -05:00
_daemon.py brokerd: slim RPC caps + `ib` client-id offset 2026-11-09 17:05:43 -05:00
_util.py Register all custom excs with `tractor` IPC 2026-10-07 03:10:41 -04:00
cli.py .data: cut feed layer over to `datad` actors 2026-11-09 17:05:43 -05:00
core.py .data: cut feed layer over to `datad` actors 2026-11-09 17:05:43 -05:00
data.py Update `tractor` private-API refs across codebase 2026-10-07 03:10:41 -04:00
kucoin.py Update to latest `KucoinMktPair` spec 2025-02-12 18:08:40 -05:00
questrade.py Register all custom excs with `tractor` IPC 2026-10-07 03:10:41 -04:00
robinhood.py Use `__name__` for loggers across most sub-mods 2026-02-23 12:22:48 -05:00