deepentropy

deepentropy / ibx

Public

Direct IB connection engine in Rust. No Java Gateway. No middleman. Ultra-low-latency orders and market data via IB's native protocol. Rust + Python (PyO3).

25
2
100% credibility
Found Mar 17, 2026 at 25 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Rust
AI Summary

IBX provides a high-speed direct connection to Interactive Brokers for real-time market data and trading, compatible with popular trading libraries in Rust and Python.

How It Works

1
๐Ÿ” Discover direct trading

You learn about a simple tool that connects straight to your broker for faster stock prices and orders, skipping slow apps.

2
๐Ÿ“ฅ Add to your program

You quickly include it in your trading setup, like adding a helpful friend.

3
๐Ÿ”‘ Link your broker

Share your username and password securely so it knows your account.

4
๐Ÿš€ Connect with one click

Hit start and instantly link to live market data โ€“ no waiting or extra software!

5
๐Ÿ“Š See prices and trade

Watch real-time quotes flow in and send buy/sell orders super quickly.

โœ… Trade faster every day

Your orders zip through lightning-fast, making trading smoother and more responsive.

Sign up to see the full architecture

4 more

Sign Up Free

Star Growth

See how this repo grew from 25 to 25 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is ibx?

ibx is a Rust library for direct connections to Interactive Brokers servers, skipping the Java Gateway entirely for ultra-low-latency market data and orders over IB's native protocol. It delivers an ibapi-compatible API, so your existing Python or Rust trading code drops in with minimal changes via PyO3 bindings. Think github direct access to IBโ€”no middleman, just raw speed on public internet.

Why is it gaining traction?

It slashes order round-trip times by 3x versus the official C++ TWS API through IB Gateway, with benchmarks showing 240ms full limit order cycles on paper accounts. Developers love the lock-free quote reads and single-threaded hot path that eliminates Java GC pauses and socket hops. Direct connection minecraft-style simplicity means no TWS install, just connect and trade.

Who should use this?

Algo traders building low-latency strategies on SPY or AAPL who hate Java dependencies. Quant devs porting ibapi scripts to Python without gateway bloat, or Rust HFT shops needing direct github link to IB's FIX stream. Ideal for anyone chasing direct connections flights to live/paper accounts with seqlock quotes and what-if previews.

Verdict

Grab it if low-latency IB access beats gateway hasslesโ€”docs, notebooks, and 800+ tests make onboarding smooth despite 25 stars and 1.0% credibility score. Still early; watch for L2 depth and reconnection polish before production ramps.

(187 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.