Ticker BriefLowfloat Labs

Docs Ticker Brief Agent

How the newsroom works

Ticker Brief turns a stock ticker into a short news-column brief: a headline, what the price did, likely drivers with numbered sources, and what to watch. It is a Lowfloat Labs experiment. Not financial advice.

The pipeline

  1. You type a ticker. The page calls our Cloudflare Worker: GET /api/brief?t=NVDA.
  2. The Worker pulls facts from Finnhub (free tier): the latest quote, company profile, company news from the last 7 days (up to 8 items), and the earnings calendar for the next 60 days.
  3. Claude writes the brief (Anthropic API, model claude-opus-5-5 by default) using only those facts. The output is structured JSON, and each driver cites the news items it relies on. News text is treated as untrusted data.
  4. The brief is cached per ticker (15 minutes for AI briefs, 10 for template briefs), so repeat lookups are instant and cheap.

Brief modes

Every brief carries a stamp telling you how it was made:

StampMeaning
AI briefReal Finnhub data, written by Claude.
Auto-templateReal Finnhub data, written by a fixed template (no AI). Used when the AI key is not set, the daily AI budget is used up, or the AI call fails.
SAMPLE DATABundled illustrative briefs for NVDA, TSLA and AAPL. Not real prices or news. Shown only when the market-data key is not configured.

Limits and guardrails

API

Base URL: …

GET /api/brief?t=NVDA   → { mode, ticker, company, quote, sources[], brief{headline, dek, price_move, drivers[], watch[]}, disclaimer, cached, generatedAt }
GET /api/health         → { ok, mode: "live"|"template"|"sample", ai, data, model, time }
GET /api/stats          → { date, filed, lastFiledAt }   (fresh briefs filed today, UTC)

CORS is limited to this site. Errors return { error, message } with status 400 (bad ticker), 404 (unknown ticker), 429 (rate limited) or 5xx.

Share a brief

Add ?t=TICKER to the site URL, for example /?t=NVDA, and the brief loads automatically.

Disclaimer

Not financial advice. Experimental software. Briefs are machine-written from public data, may be wrong, incomplete or delayed, and are not a recommendation to buy or sell anything. Do your own research.