Work Services About Journal
Start a project →
sean@integralstack.io
Case Study

High-frequency trading UI for
an in-house trading desk.

SALT's trading desk needed a fast, reliable app for running and monitoring its trading strategies. We led frontend development of that trading UI, from the first gRPC connection to the screens traders used to run their strategies.

Client SALT Lending
Industry Fintech · Crypto trading
Engagement Frontend lead
Stack React, gRPC-Web, Envoy, Zustand, Rust
Overview

Built for live trading.

SALT's traders run automated trading strategies. Once a strategy is live, they need to watch prices and every execution under it as it happens.

We led the project from the start, designing and building the application's foundation.

The Challenge

Sub-second data, in a browser.

gRPC in the browser

The trading backend spoke gRPC, which browsers can't call directly.

A firehose of updates

Prices stream in at sub-second rates. Handled naively, every tick re-renders every component and the app eats the traders' machines.

A specialist audience

The users are professional traders, so the interface had to fit how they think about instruments and strategies.

The Solution

Designed with traders, built for speed.

We worked with a dedicated UX designer, interviewed the traders and other stakeholders, and learned the math behind the instruments and strategies the traders use, then co-designed the experience and built it in React.

gRPC-Web through Envoy

We configured the Envoy proxy that lets the browser talk to the gRPC servers. Strategies are submitted as gRPC calls, and prices and executions stream back over server streaming.

Throttle at the edge

Updates are throttled where the stream enters the app, so components get data at a useful rate instead of the raw firehose.

Only re-render what changed

State lives in Zustand with selectors, and rows and cells are memoized, so a new price re-renders only the rows it affects.

The Results

The traders' go-to system.

Key Outcome

In production, in daily use

The trading UI shipped to production and became the system SALT's traders relied on.

Sub-second Live prices and executions in the browser
gRPC-Web Streaming straight into the browser
Daily The traders' primary workspace

Once traders were using it, we led planning for each new feature so improvements kept shipping quickly. We also took over the Rust service behind the traders' historical profit and loss reporting.

Technology

Tech Stack

React Trading interface
gRPC-Web Browser-to-server calls and streaming
Envoy gRPC-Web proxy
Zustand Fine-grained application state
React DevTools Profiler Render performance tuning
Rust Historical P&L service
Start a project

Let's build
something worth
shipping.

Tell us a bit about your project. We reply within 24 hours, usually with questions and sometimes with sketches.

Or email sean@integralstack.io