IBX
Direct IB connection engine. No Java Gateway. No middleman. Built in Rust for ultra-low-latency, available as both a Rust crate and a Python wheel.
340 ns
Tick read latency
~460 ns
Order send latency
5,900×
Faster than Java Gateway
2
Languages, one engine
Why IBX
No JVM, no gateway
Connect straight to the IB servers. No localhost hop, no garbage-collector pauses, no separate process to babysit.
Same API you already know
Drop-in compatible EClient / Wrapper callback shape. Port existing strategies without rewriting them.
Two languages, one core
The Python wheel is built from the same Rust engine via PyO3 — no second implementation, no parity drift.
Built for latency
Hot loop pinned to a core, zero-allocation tick parsing, lock-free dispatch. Tick reads in nanoseconds, not milliseconds.
Where to go next
- New here? → Getting Started — install, credentials, hello-world in both languages.
- Want to see real code? → Recipes for Rust and Python — end-to-end flows with full source from
examples/. - Looking up a specific call? → Rust API · Python API.
- Wondering what's wired up? → Endpoint Coverage.
Project status
IBX is under active development. The Rust and Python APIs track the official IB API surface; gaps are tracked in the Endpoint Coverage chapter.