summaryrefslogtreecommitdiff
path: root/backend/app/services/__init__.py
diff options
context:
space:
mode:
authorTyler Hoang <tyler@tylerhoang.xyz>2026-05-18 00:10:00 -0700
committerTyler Hoang <tyler@tylerhoang.xyz>2026-05-18 00:10:00 -0700
commit1df80dc1f868b906c5540b66a211947c6886484d (patch)
tree5f1a71ef6259c0f6892a09e48198033e8062ca6e /backend/app/services/__init__.py
parentd3d91f6faca104dcb98487adc0c5ff5d268ed8f7 (diff)
feat: add get_financials() with income/balance/cashflow builders
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>
Diffstat (limited to 'backend/app/services/__init__.py')
0 files changed, 0 insertions, 0 deletions