summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2026-05-18feat: add FinancialsPage data-fetching wrapperTyler Hoang
2026-05-18feat: add FinancialsCard component with statement tabs and period toggleTyler Hoang
Renders income/balance/cash_flow statements with annual/quarterly toggle, section headers, indent levels, total rows, margin rows, and negative-value coloring via --negative. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-18feat: add api.financials() and enable financials nav itemTyler Hoang
2026-05-18feat: add FinancialRow/Statement/Response frontend typesTyler Hoang
2026-05-18feat: add /api/tickers/{symbol}/financials endpointTyler Hoang
2026-05-18feat: add get_financials() with income/balance/cashflow buildersTyler Hoang
Implements _build_income, _build_balance, _build_cash_flow, and get_financials() (cached) in data_service.py. Annual mode appends TTM (income/CF) and MRQ (balance) columns; quarterly mode returns up to 8 periods. Adds annual_frame helper and 5 TDD tests covering column labels, TTM sums, MRQ values, FCF computation, and empty-statement graceful returns. Test count: 19 → 24. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-18feat: add financials cache and row-builder helper functionsTyler Hoang
2026-05-18feat: add financials cache and row-builder helper functionsTyler Hoang
2026-05-17feat: add FinancialRow/Statement/Response schemasTyler Hoang
2026-05-17Add financials tab implementation planTyler Hoang
2026-05-17Filter null rows from ShortInterestCard, hide card when all nullTyler Hoang
Mirrors the adaptive Reference card approach: only visible items are rendered, with a note when some are suppressed. Card returns null when nothing is available. Also updates next-env.d.ts path and ignores .superpowers/. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-17Fix _json_value crashing on array-valued yfinance info fieldsTyler Hoang
pd.isna() on a numpy array returns an array, not a scalar, causing ValueError in the boolean context. Wrapping in try/except restores get_company_info() for tickers like NFLX whose .info includes array fields. Also suppress FutureWarning in compute_beta pct_change calls. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-17Fix spec ambiguities: StatementKey/PeriodKey types, FCF margin source, ↵Tyler Hoang
FinancialsPage props
2026-05-17Add financials tab design specTyler Hoang
2026-05-17Add computed beta fallback and FMP short interest fallbackTyler Hoang
- compute_beta: 2y weekly returns vs SPY, cov/var formula, capped ±3, BETA_CACHE TTL=3600 - get_fmp_short_interest: calls FMP /v4/short-of-float-symbol when all yfinance short fields are None - _build_quote_and_stats: accepts sym, uses compute_beta when info["beta"] is None - PERIODS/YF_PERIOD_MAP: added "2y" support - test_api: clear BETA_CACHE and SHORT_CACHE in clear_service_caches Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-17Add design spec: beta computed fallback + short interest FMP fallbackTyler Hoang
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-17Align Overview UI with kit mockup: adaptive Reference card, TickerHeader ↵Tyler Hoang
hierarchy, chart width - StatsCard filters null ratio rows; shows '· Statement data incomplete' note instead of wall of Unavailable - TickerHeader restructured to match kit: symbol (64px display) dominant beside company name (24px italic), sector label above, chips below - Fix broken --fs-56 token in company name clamp → --fs-64 - Chart fills full panel width via .psm-chart-frame .chart { width: 100% } Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-17Add design spec for adaptive Reference card row filteringTyler Hoang
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-17Refine overview ratios and shellTyler Hoang
2026-05-17Fix design system violations and logic bugs from code reviewTyler Hoang
- Remove backdrop-filter blur (glass effect) from TopBar; use opaque ink-1 background - Remove decorative glow box-shadows from market status dot - Fix button border-radius: var(--r-2) → var(--r-1) (4px → 2px) per design rules - Replace invented hover color rgba(194,170,122,0.04) with var(--ink-3) token - Add missing .psm-signal.neu CSS rule so neutral signals have visual treatment - Use HTML disabled attribute on nav buttons instead of aria-disabled alone - Replace duplicate EPS KPI tile with Prev Close to remove redundancy with P/E sublabel - Rename sortIndices → limitIndices (function only truncates, never sorts) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-17'UI Shell and General Architecture'Tyler Hoang
2026-05-17Add stack start and stop scriptsTyler Hoang