Skip to content

Claude/2 plus 2 calculation xhqecf - #166

Open
cloudnote18-lab wants to merge 5 commits into
ed-donner:mainfrom
cloudnote18-lab:claude/2-plus-2-calculation-xhqecf
Open

Claude/2 plus 2 calculation xhqecf#166
cloudnote18-lab wants to merge 5 commits into
ed-donner:mainfrom
cloudnote18-lab:claude/2-plus-2-calculation-xhqecf

Conversation

@cloudnote18-lab

Copy link
Copy Markdown

No description provided.

Cloud Note and others added 5 commits September 3, 2026 15:22
…1788465323953

Add Claude Code GitHub Workflow
… backend

Consolidates MARKET_INTERFACE.md, MARKET_SIMULATOR.md and MASSIVE_API.md into a
single implementation-ready design for backend/app/market/, with drop-in code
for every module:

- Shared models: open_price baseline, tick_direction vs change_percent_today,
  PricePoint/SourceStatus, ISO 8601 wire conversion
- PriceCache with a sticky open_price anchor
- MarketDataSource + describe() and get_history()
- Capability probe classifying the five Massive key states
- Async, capability-driven source factory (three sources, one interface)
- Simulator: decaying shocks at 1e-4, deterministic unknown-ticker seeds,
  seed_overrides, LinAlgError fallback, history ring buffer with prefill
- AnchoredSimulatorDataSource: real closes from one free-tier call, GBM motion
- Rewritten Massive client: nanosecond timestamps, prev_day.close baseline,
  error classification, poll-loop backoff, poll/quote staleness
- SSE heartbeat, /api/prices/{ticker}/history, /api/health, lifespan wiring
- Test plan, implementation order, and the PLAN.md items this closes

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015iKouPXUXK3RAgWvfrkGPv
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