Skip to content

feat(finance): watchlist sparklines (last week, Datatype font)#111

Merged
ralyodio merged 1 commit into
masterfrom
feat/watchlist-sparklines
Jun 17, 2026
Merged

feat(finance): watchlist sparklines (last week, Datatype font)#111
ralyodio merged 1 commit into
masterfrom
feat/watchlist-sparklines

Conversation

@ralyodio

Copy link
Copy Markdown
Contributor

Tiny inline price sparklines on watchlist cards using the b1dz Datatype font-ligature approach. New batch /api/finance/sparklines endpoint (5D closes, downsampled, cached).

Ports the b1dz.com font-ligature sparkline: the Datatype variable font renders
'{l:v1,v2,...}' (0-100) as an inline chart glyph — no chart lib, just a font.

- src/app/fonts/Datatype.woff2 + datatype-font.ts (next/font/local)
- Sparkline component (green up / red down via last-vs-first)
- GET /api/finance/sparklines?symbols=... batch endpoint: last-week (5D) closes
  per symbol, downsampled to 24 points, per-profile provider + Yahoo fallback, cached
- Hub watchlist cards render a sparkline per symbol (one batched fetch)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@ralyodio ralyodio merged commit 7a4586c into master Jun 17, 2026
@github-actions

Copy link
Copy Markdown

vu1nz Security Review

0 finding(s) in PR #?

No security issues found.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant