summaryrefslogtreecommitdiff
path: root/backend/app
AgeCommit message (Collapse)Author
2026-05-18feat: add financials cache and row-builder helper functionsTyler Hoang
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-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-17Refine overview ratios and shellTyler Hoang
2026-05-17Add stack start and stop scriptsTyler Hoang