Skip to content

Market data review#34

Open
stevehome wants to merge 9 commits intoed-donner:market-data-reviewfrom
stevehome:market-data-review
Open

Market data review#34
stevehome wants to merge 9 commits intoed-donner:market-data-reviewfrom
stevehome:market-data-review

Conversation

@stevehome
Copy link
Copy Markdown

No description provided.

ed-donner and others added 9 commits February 10, 2026 14:16
Add market data backend code review document
- Add [tool.hatch.build.targets.wheel] packages to pyproject.toml so
  uv sync and Docker builds work
- Fix Massive tests to work without the massive package installed:
  set _client on source before calling _poll_once, use create=True on
  RESTClient patches, add conftest with stub massive modules
- Fix _generate_events return type (None -> AsyncGenerator[str, None])
- Add public get_tickers() to GBMSimulator; use it in SimulatorDataSource
  instead of reaching into private _tickers
- Remove unused DEFAULT_CORR constant (consolidated into CROSS_GROUP_CORR)
- Remove unused imports in test files (pytest, math, asyncio)

All 73 tests pass. Lint clean.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
massive is a core dependency in pyproject.toml and will always be
installed. Move imports to top level in massive_client.py and factory.py,
remove the sys.modules stub conftest, and drop create=True from test
patches. Tests now work naturally with the installed package.

All 73 tests pass.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Interactive dashboard showing all 10 tickers with live GBM-simulated
prices, sparklines, color-coded direction arrows, and an event log
for notable moves. Runs 60 seconds or until Ctrl+C, then prints a
session summary comparing final prices to seeds.

Usage: cd backend && uv run market_data_demo.py

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- planning/MARKET_DATA_SUMMARY.md: comprehensive summary of everything
  built, tested, and reviewed in the market data backend
- backend/CLAUDE.md: developer guide with key APIs, setup, and usage
- planning/archive/: moved 5 superseded market data planning documents

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Market data demo, summary docs, and backend CLAUDE.md
Comprehensive review of backend/app/market/ covering test results (73/73 passing),
coverage analysis (91% overall), and identified issues with recommendations.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@stevehome
Copy link
Copy Markdown
Author

code review

@stevehome stevehome closed this Apr 8, 2026
@stevehome stevehome reopened this Apr 8, 2026
@stevehome
Copy link
Copy Markdown
Author

After code review

Copy link
Copy Markdown
Author

@stevehome stevehome left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

after review

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