Market data review#34
Open
stevehome wants to merge 9 commits intoed-donner:market-data-reviewfrom
Open
Conversation
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>
Fix/market data review items
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>
Author
|
code review |
Author
|
After code review |
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.