← Back to the universe 03 / 13

03 / HARDWARE · TEXAS UCF TEAM PROJECT

FPGA Tick-to-Trade

An FPGA exchange and an FPGA trader that parses market data straight off the wire and starts sending its order before the incoming frame has finished arriving.

Code on GitHub ↗
Open slides full screen ↗
FPGA HFT Systems presentation
SystemVerilogArtix-7 / Basys3RMII EthernetFIX 4.4C++Python
Median round trip, same exchange, 4,096 messages
FPGA trader
13.2 µs
C++ laptop
124 µs
Python
249 µs

My role

I proposed the project, designed the architecture, and led a six-person team across RTL, host trading software, testing, and hardware validation.

Inside the system

13.2 µsmedian round trip, 40 ns spread, 0 timeouts
23.8 µsreaction to a price move vs. ~2 ms for the laptop
15 / 15stale laptop quotes picked off in a market-making race

13.2 µs is the speculative-transmit build; without speculation it ran 20.9 µs. The C++ laptop trader’s p99 was 297 µs. In the race the FPGA quotes wider by design, so the laptop’s quote is the one left resting.