Skip to content

Docs/market data design - #162

Closed
GBRCenter wants to merge 2 commits into
ed-donner:mainfrom
GBRCenter:docs/market-data-design
Closed

Docs/market data design#162
GBRCenter wants to merge 2 commits into
ed-donner:mainfrom
GBRCenter:docs/market-data-design

Conversation

@GBRCenter

Copy link
Copy Markdown

No description provided.

GBRCenter and others added 2 commits August 31, 2026 06:22
Design doc for the market data subsystem: unified MarketDataSource API,
GBM simulator, and Massive REST client, with implementation-ready snippets.

Grounded in the current code rather than the existing planning docs:
- Records actual test state (73 passing, 91% coverage; stream.py at 33%),
  correcting the stale 84% in MARKET_DATA_SUMMARY.md
- Documents the two reproduced defects in massive_client.py: last_trade
  has no `timestamp` attribute (correct name is `sip_timestamp`) and the
  divisor treats nanoseconds as milliseconds, so the Massive path writes
  nothing to the cache at all
- Specifies the four missing pieces: rolling price history in PriceCache,
  GET /api/prices/{ticker}/history, the SSE keepalive, and lifespan wiring
  with startup reconciliation over watchlist union positions
- Adds an ordered 5-step implementation plan

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VBCDeXTMgiy4SEZsVfgziA
@GBRCenter GBRCenter closed this Sep 1, 2026
@GBRCenter
GBRCenter deleted the docs/market-data-design branch September 1, 2026 14:34
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