Claude/2 plus 2 calculation xhqecf - #166
Open
cloudnote18-lab wants to merge 5 commits into
Open
Conversation
…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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.