Skip to content
S

Stonks

Trading Dashboard

Created on 12th April 2026

•

S

Stonks

Trading Dashboard

The problem Stonks solves

Retail investors usually have to jump between multiple apps for prices, news, portfolio tracking, and trade ideas, which makes decision-making slow and error-prone. This project solves that by bringing everything into one workspace: live stock data, portfolio performance, market news, and AI-assisted insights.

It helps users:

Track holdings and watchlists in real time.
Understand market-moving news faster.
Get quick, context-aware AI summaries and idea support.
Reduce manual spreadsheet work and app-switching.
The result is faster, more confident investing decisions with less noise and friction.

Challenges I ran into

One major challenge was handling multiple external data sources (stock prices, news, and AI responses) with different response formats and rate limits. We solved this by creating dedicated API utility layers, adding consistent error handling, and implementing graceful fallbacks so the app still works even when one provider is slow or unavailable.

Another hurdle was authentication/session reliability across protected dashboard routes. Token expiry and refresh timing initially caused occasional forced logouts, so we added a refresh flow and centralized cookie/JWT handling to keep sessions stable and secure.

We also ran into UI state-sync issues (portfolio/watchlist updates not always reflecting instantly). We fixed this by tightening client-side state updates and revalidation logic after mutations, which made the dashboard feel much more real-time and trustworthy.

Finally, environment setup was tricky because the project mixes Next.js, Python-based prediction scripts, and multiple API keys. We standardized env loading and validation to reduce setup friction and make local development more predictable.

Discussion

Builders also viewed

See more projects on Devfolio