Skip to content

KB/api

GET /api/v1/company/{ticker}/price

Last verified

Auto-generated. This article is rebuilt from FastAPI route introspection by scripts/build_api_kb.py. Edit the route docstring in app/ and re-run the script β€” do not edit this file directly.

GET /api/v1/company/{ticker}/price

Handler: app.company.routes.get_company_price
Methods: GET

Description

Price and technicals panel for the company dashboard.

Returns the last limit rows from co_price_daily, newest-first. Each row carries the full computed technicals set (RSI, SMAs, realized vol, ATR, beta, 52w extremes, log returns).

Phase D (schema 2026.06.4) adds, additively: intraday_rows (today’s 5-min co_price_intraday ticks, oldest-first, for the 1D pill β€” [] off-hours), intraday_date, the live-price context trio (live_price / live_price_ts / spot_source) mirroring the gamma route, and total_row_count (full co_price_daily depth for the Full pill). No request-time market-data fallback β€” all reads from persisted tables.

404 when the ticker has not been scaffolded. 200 with empty rows when the ticker is known but the price family is not yet ready (i.e. the scaffold ran the entity step but not the price backfill yet).

Parameters

In Name Type Default Description
path ticker str PydanticUndefined
query limit int 252 Number of trading days to return (newest-first). Default 252 β‰ˆ 1 trading year. The company page passes a large limit so the Price card’s Full pill has all history.

Curl

curl -s https://bigclawd.com/api/v1/company/{ticker}/price