{"repo":"deepentropy/ibx","free":true,"listed":false,"github":"https://github.com/deepentropy/ibx","clone":"git clone https://github.com/deepentropy/ibx.git","description":"Direct connection engine for Interactive Brokers in Rust. No Java Gateway required. Ultra-low-latency orders and market data. Rust + Python (PyO3).","language":"Rust","stars":164,"topics":["interactive-brokers","low-latency","market-data","pyo3","rust","trading"],"license":"AGPL-3.0","category":"trading","readme_excerpt":"Direct IB connection engine. No Java Gateway. No middleman. Documentation &bull; Benchmarks &bull; Rust &bull; Python &bull; Notebooks &bull; Architecture &bull; Rust API &bull; Python API &bull; Coverage --- 📖 Full documentation, recipes, and API reference: deepentropy.github.io/ibx --- IBX connects directly to Interactive Brokers servers — without requiring the official Java Gateway. Built in Rust for ultra-low-latency, available as both a Rust library and a Python library via PyO3. Both expose an ibapi-compatible EClient / Wrapper API. Benchmarks Processing Latency (no network) Internal engine processing measured in isolation (1M iterations, no network I/O). Compared to the Java Gateway's internal processing, measured via bytecode instrumentation. Tick Reading (wire → strategy) Metric Java Gateway IBX (Rust) Ratio --- --- --- --- Latency 2 ms 340 ns 5,900x Order Sending (strategy → wire) Order Type Java Gateway IBX (Rust) Ratio --- --- --- --- Limit 83 µs 459 ns 180x Market 76 µs 460 ns 165x Cancel 125 µs 386 ns 323x Modify 86 µs 470 ns 183x IBX eliminates the Java Gateway entirely — no JVM, no localhost hop, no garbage collection pauses. The strategy receives ticks and sends orders in-process. Rust Usage Add to Cargo.toml : ibapi-compatible EClient / Wrapper API — same callback pattern as C++ EClientSocket : Place and manage orders Python Usage IBX exposes an ibapi-compatible EClient / EWrapper API. Same callback pattern, same method names — but connecting directly throu","default_branch":null,"files":null,"tree":[],"storefront":"/r/deepentropy","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/deepentropy/ibx/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}