Back to portfolio
Bots & AutomationTrading InfrastructurePython + Next.jsExecution with risk limits NDA

Case study

Cross-Exchange Arb Engine

An engine that watches order books across exchanges and places trades within set risk limits.

Strategy rules

Notebook to service

A research notebook became a production service with visible risk controls.

Risk locks

Typed and enforced

Position sizing, kill switches and venue health checks sit on the execution path.

Post-trade review

In the dashboard

The operator dashboard shows fills, venue behaviour and reconciliation issues.

bots

What this case covers

Trading InfrastructureStack focus: Python + Next.jsOutcome focus: Execution with risk limitsService: Build a trading systemTool: Strategy backtesterConfidential project

Next step

Use the build brief when a strategy needs to move out of research and into production.

Notes

Industry: Trading Infrastructure

Related: Build a trading system / Strategy backtester

Outcome: The strategy can be watched and stopped while it runs on live markets.

This case shows how the work was delivered and what it achieved. Confidential internal screens are left out.

Chapter 01

Challenge

01

Move an experimental Jupyter notebook strategy into a production system with kill-switches, observability, and safe deployment.

Chapter 02

System

02

Streaming order-book ingestion with per-venue rate-limit awareness.

Deterministic strategy core wrapped in a typed risk gate.

Operator dashboard with live P&L, kill-switch, and venue health.

Chapter 03

Interface

03

Capabilities: Trading Systems, Streaming Data, Risk Engineering.

Stack: Python, asyncio, Redis, Next.js Operator UI.

bots

Capability

Trading Systems

Capability

Streaming Data

Capability

Risk Engineering

Chapter 04

Outcome

04

Production deployment with hot config reload and auto-rollback.

Risk gate prevents oversize positions even on misconfigured runs.

The operator dashboard shows fills and reconciliation after each trade.

Steps

Strategy lifecycle

Signal intake, validation, execution and post-trade review.

Market intake

Order books stream in with venue-specific rate and health awareness.

Opportunity validation

The core strategy checks spread quality against risk and execution cost before acting.

Execution and lock

Risk gates, kill-switch rules, and venue constraints surround the actual order placement.

Post-trade review

Operators review P&L, reconciliation, and venue behavior without leaving the system context.

Layers

Venue, alerting, execution, review

The engine, one layer at a time.

Venue logic

Per-exchange ingestion and health checks decide whether an opportunity is considered.

Alerting layer

Operators see abnormal states and can intervene early.

Execution layer

Orders move only after typed risk checks and venue constraints align.

Review layer

Post-trade review is part of the operator dashboard, not a separate report.

More work

More case studies.

Start a trading system brief