Fork me on GitHub


Libtrading is an open source API for high-performance, low-latency trading applications. It implements network protocols used for communicating with exchanges, dark pools, and other trading venues.

The API supports FIX, FIX/FAST, and many proprietary protocols. See documentation for full list of covered exchanges and protocols.


  • C API
  • High performance, low latency
  • FIX dialect support
  • SystemTap/DTrace probes



Libtrading developers can be reached at

Stock Ticker.
Drawing of Edison Stock Ticker, invented by Thomas Edison in 1869. (Image courtesy of Wikimedia Commons.)


FIX engine round-trip time frequency plot for loopback ping-pong test on 2-way 2.7 GHz Sandy Bridge i7 CPU running Fedora 19/Linux 3.12.6 looks as follows:

Latency frequency plot

Please note that outliers were eliminated from the plot to make it readable. Full data in CSV format is available here


Libtrading is available under 2-clause BSD license.