Rüishi Lab →

Writing

← rueishi.dev

· 80 min read

Engineering an Adaptive Quantum SOR

A follow-up to Engineering a Low-Latency Smart Order Router. Where that article designed the SOR as a single, deterministic, allocation-free execution strategy living next to the gateway, this one designs the layer above it: a warm-path optimization stack (L1 through L6) that compiles immutable routing policies from streaming feature stats, GPU-accelerated tactical tuning at L3, CUDA-Q strategic venue-subset selection via QUBO/Ising at L4, cross-parent batch allocation with quadratic coupling at L3.5, and opt-in robust policy selection across declared scenario sets at L1. The execution path itself stays Java-only and microsecond-bounded; everything quantum, GPU, or learned lives behind a backend boundary that fails closed when unavailable. Illustrated by Adaptive Quantum SOR, a reference implementation that walks the same architecture from a deterministic Java reference at each layer through robust policy selection, with the GPU and QPU integration points designed in from the start.

· 80 min read

Engineering a Low-Latency Smart Order Router

A follow-up to Engineering an Institutional High-Frequency Trading System — what a Smart Order Router actually is, where it sits in the trading lifecycle, what business problem it solves, and how to implement one as a deterministic, allocation-free, benchmark-gated execution strategy. Illustrated by NitroJ Exchange V14, which adds a first-class SmartOrderRoutingExecution layer on top of the existing engine. V14 explicitly does *not* introduce TWAP, VWAP, POV, dark-pool routing, ML-based venue scoring, or new venue plugins. Those are tracked in the roadmap and arrive when their own evidence does.

· 58 min read

Engineering an Institutional High-Frequency Trading System

An architectural tour through the design decisions, critical factors, and engineering techniques that distinguish an institutional-grade trading platform from a hobby trading bot — illustrated by NitroJ Exchange (NitroJEx), a Java 21 low-latency cryptocurrency trading platform.

· 28 min read

The Pragmatic Engineer's Guide to Low-Latency Java

Deterministic systems matter in the T+0 era. What senior Java engineers must unlearn from enterprise practice, what they must learn from mechanical sympathy, and how a concrete crypto market-data gateway brings those ideas to life.