All projectsField notes / Fintech

Client project

CompassRT

Every tick in. One calm frame out.

A study in fintech

Live stock dashboard: one shared market feed, batched each second and pushed only to people watching that symbol.

01 / In the product

Take a closer look.

01Stream02Buffer03Render

How the data flows

One market feed in, one update per symbol per second out

Node.js serverReact clientFinnhub feedshared socketRxJS streamevent per tradeBuffer 1 sbufferTimeLatest onlyper symbolSocket.IOroom per symbolBrowsersocket clientBuffer 1 sbufferTimeAG Gridrow-ID updatesWatchlistjoin or leavesubscribes on first viewer,unsubscribes when room empties
01

The starting point

Market feeds fire many trades a second. Repainting the screen for each one freezes the table and floods every browser with symbols it never asked for.

02

Where I came in

I built the Node.js streaming backend and the React trading grid: one shared upstream socket, RxJS batching on both sides, and Socket.IO rooms so each client only receives the symbols on its watchlist.

Decisions that shaped it
  1. 01

    Keep one upstream market socket for everyone, and subscribe a symbol only while someone is watching it.

  2. 02

    Buffer trades for one second and send only the newest trade per symbol.

  3. 03

    Emit to a Socket.IO room per symbol, so a client never receives data it did not ask for.

  4. 04

    Buffer again in the browser and apply AG Grid async transactions by row ID, so only changed rows repaint.

  5. 05

    Ship a built-in simulator that fires a tick every 10 ms per symbol to load-test the same path.

03 / What came out of it

A watchlist that stays smooth while trades stream in.

Upstream subscriptions that follow real demand: added on the first viewer, dropped when the room empties.

Node.js, Express, RxJS 7, Socket.IO 4, MongoDB, JWT, React 17, Redux Toolkit and AG Grid.

Tools behind the work
  • Node.js
  • RxJS
  • Socket.IO
  • React
  • AG Grid
  • MongoDB
Keep turning the pages

Project lifecycle agents

AI agents

A product starts with a conversation.

Let’s have one