Repository navigation
Conversation
- Industry peer comparison (D14): the snapshot includes up to 5 of the largest
US companies in the stock's Yahoo industry (peers.py, yahoo.fetch_industry_peers
/ fetch_key_metrics, services.load_peers). US-listed stocks only; peer lists and
metrics cached 24 h, fetched 4 at a time; failed peers skipped.
- Valuation: trailing and forward P/E are scored against the peer median when 3+
peers have a value ("33.4 vs industry median 45.0 (-26%)"); fixed bands otherwise.
- Finance tab "Industry peers" table, the stock highlighted green/orange vs median.
- Snapshot schema 3; LLM context includes peer medians.
- start.bat creates a Desktop shortcut on first run (once, marker file).
- Debt/Equity card shows 0.30x like the breakdown (Yahoo's raw value is percent).
96 backend tests; UI smoke checks the peer table and relative P/E.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TW7cJeWrcBW5SJHr4ZKtSH
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.
Stacked on #5.
Industry peers (D14)
yf.Industry(key).top_companiesplus oneinfocall per peer.Polish
start.batcreates a Desktop shortcut on first run, once only, tracked by a marker file.96 backend tests. The UI smoke test checks the peer table and the relative P/E.
Generated by Claude Code