Skip to content

Add detailed market data backend design document - #1

Merged
EnigmaticFuel merged 1 commit into
mainfrom
claude/market-data-backend-design-co914n
Aug 3, 2026
Merged

Add detailed market data backend design document#1
EnigmaticFuel merged 1 commit into
mainfrom
claude/market-data-backend-design-co914n

Conversation

@EnigmaticFuel

Copy link
Copy Markdown
Owner

Design-level spec for backend/app/market/: PriceUpdate with the session baseline, PriceCache with bounded sparkline history and change-only versioning, the shared ticker validation rule, the MarketDataSource contract, the GBM simulator (correlated draws, deterministic synthesized params, backwards history backfill), the Massive REST poller (nanosecond timestamps, rate-limit-aware backfill and backoff), the factory, and the SSE stream with heartbeats.

Includes FastAPI wiring, consumer recipes for the watchlist/trade endpoints, a precise delta from the code currently on disk, a testing plan with runnable examples, and a failure-mode table.

Claude-Session: https://claude.ai/code/session_01TDtdaEUZozC9waLPnyfPJG

Design-level spec for backend/app/market/: PriceUpdate with the session
baseline, PriceCache with bounded sparkline history and change-only
versioning, the shared ticker validation rule, the MarketDataSource
contract, the GBM simulator (correlated draws, deterministic synthesized
params, backwards history backfill), the Massive REST poller (nanosecond
timestamps, rate-limit-aware backfill and backoff), the factory, and the
SSE stream with heartbeats.

Includes FastAPI wiring, consumer recipes for the watchlist/trade
endpoints, a precise delta from the code currently on disk, a testing
plan with runnable examples, and a failure-mode table.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TDtdaEUZozC9waLPnyfPJG
@EnigmaticFuel
EnigmaticFuel merged commit 38ca55d into main Aug 3, 2026
1 check failed
@claude claude Bot mentioned this pull request Aug 3, 2026
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