StocklumoBehind the build.
I built and deployed a stock-tracking app that turns Finnhub market data into a dashboard with streaming quotes, company pages, charts, news, and a browser-local watchlist.
Explore the work on GitHub
- Market data implementation (opens in new tab)
- Research endpoints (opens in new tab)
- Research interface code (opens in new tab)
- Backend tests (opens in new tab)
- Frontend and browser tests (opens in new tab)
- Passing release checks (opens in new tab)
- Rate limiting and release review (opens in new tab)
- Maintainability and release changes (opens in new tab)
- CI workflow (opens in new tab)
- Commit history (opens in new tab)
What I built
I built Stocklumo so someone following a handful of companies could move from a price change to the chart, company profile, or source article without leaving the workflow. I implemented the market-data pipeline, the Razor and JavaScript interface, automated tests, and the deployment to Render.
From the dashboard to a company
I separated three numbers that are easy to confuse: companies in the eligible symbol catalogue, stocks in the daily spotlight, and spotlight stocks with quotes available. The fixed ticker stays separate from the daily selection, though both use the same quote and subscription infrastructure. The dashboard averages available spotlight changes against the previous close, and labels which selection the figure describes. A reader can open an individual company to see its quote age, profile, and day and 52-week ranges.
One provider connection, multiple browsers
The ASP.NET Core server uses Finnhub REST endpoints for snapshots, company information, news, and research data. One shared WebSocket receives trades, and reference counts let multiple views follow the same symbol without opening separate provider connections. The server releases unused subscriptions, reconnects and resubscribes after a drop, and sends browser snapshots through server-sent events. Several trades may be combined into one UI update.
Recovering from provider interruptions
Requests for the same data share cached results. If Finnhub throttles requests, the server backs off before trying again. Feed tests simulate fragmented WebSocket messages, reconnection, resubscription, and cleanup after the last browser leaves. They also check that a late REST snapshot cannot replace a newer trade. The health endpoint stays independent of market-data admission limits.
Making data limits visible
The interface reports feed connectivity, market hours, and quote freshness separately. An open connection can still carry an older quote, especially after hours. When the provider plan does not return historical candles, the session view can display observations received during the visit. A single observation appears as a latest quote because a trend needs at least two points.
Screening and comparing stocks
The screener filters and sorts a curated set of 12 US companies by values such as price, industry, market cap, and average volume. The table and charts use the same filtered companies. Comparison accepts two to five symbols and labels the units and quote times for each. When historical data is available, the chart aligns the common dates and rebases closes to 100. The public snapshot shown in the gallery instead compares fundamentals and price changes against each stock’s previous close.
Valuing a practice portfolio
A practice lot records its symbol, purchase date, quantity, and purchase price. The app uses eligible quotes to calculate cost basis, latest value, unrealized gain or loss, and allocation. Totals stay grouped by currency, and missing or pre-purchase quotes can leave a total incomplete. The holdings are hypothetical, stored in the browser, and used for practice only.
Prototyping broader research coverage
I built a local research preview using dated snapshots to exercise candlestick and volume charts, historical comparisons, financial statements, and practice-portfolio history. The preview makes its source, capture dates, and coverage explicit. Public Stocklumo uses Finnhub and shows the research views supported by its configured provider access.
Earnings and publisher-linked news
The calendar groups earnings by announcement date and keeps fiscal reporting periods separate. It displays estimated and reported earnings per share side by side, preserving the difference between a missing value and zero. The news page adds publisher attribution and timestamps and sends readers to the original article.
Keeping the workspace in the browser
Watchlists, recent stocks, practice holdings, and preferences remain in browser storage. The watchlist supports reordering and removal and shows quote age next to price. The backup flow exports local data and validates a selected file before showing what it will replace. A separate confirmation applies the restore.
Designing for different ways to use it
I used Razor for the page structure and JavaScript for updates such as search, chart inspection, and research filters. Search supports keyboard navigation, and chart inspection is available through keyboard and pointer controls where a series is available. Both themes preserve price signs and labels alongside color. The footer makes data attribution, privacy settings, and the motion control available across pages.
Protecting credentials and shared capacity
The browser talks to the app server, which supplies the Finnhub credential from server-side configuration. I added symbol validation, bounded responses and caches, and limits on requests and concurrent streams. The Render release also applies per-network limits so a single busy client cannot consume the whole shared allowance. GitHub Actions checks the container image and project dependencies.
Testing the failure paths
Backend tests cover provider throttling, credential isolation, stream cleanup, and admission limits. JavaScript tests exercise research calculations and rendering, including incomplete valuations. Playwright uses controlled fixtures for unavailable, stale, and delayed data and checks search, charts, watchlist persistence, and backup restore across desktop, Android Chromium, and iPhone WebKit profiles. The linked 18 November 2026 release run passed the backend, frontend, browser, and runtime image checks.
What the production release verified
On 18 November 2026, the Render release served the market snapshot and passed its independent health check. Verification confirmed that the per-network stream limit responded with HTTP 429 once the allowance was reached. The backend suite separately verified the read limit. The release pull request and passing CI run link to the code and automated checks behind those results.
Development and release history
Stocklumo grew from quote tracking into a research workspace. I separated chart rendering, feed handling, and page-specific research logic so those behaviors could be maintained and tested independently. The linked rate-limit pull request records a later production change and its verification. GitHub Actions builds and checks the Docker image and runs the test suites before Render deploys from main.
Project gallery
Explore the markets, look up a company, or build a watchlist in the live app.
Visit Stocklumo (opens in new tab)