ibx
Direct connection engine for Interactive Brokers in Rust. No Java Gateway required. Ultra-low-latency orders and market data. Rust + Python (PyO3).
File Explorer
Download Latest Version (.zip)- api-docs.yml
- docs.yml
- banner.png
- benchmark.cpp
- bench_harness.rs
- python-reference.md
- python.md
- rust-reference.md
- rust.md
- account-pnl.md
- bar-data.md
- contract-details.md
- limit-order.md
- login.md
- order-lifecycle.md
- scanner.md
- stop-order.md
- streaming-l2.md
- tick-data.md
- account-pnl.md
- bar-data.md
- contract-details.md
- limit-order.md
- login.md
- scanner.md
- stop-order.md
- streaming-l2.md
- tick-data.md
- coverage-data.md
- coverage.md
- banner.png
- getting-started.md
- introduction.md
- SUMMARY.md
- custom.css
- .gitignore
- book.toml
- account_whatif.rs
- ex100_historical_scanner.py
- ex111_live_2fa_aapl.rs
- ex134_ccp_grace.rs
- ex136_trail_adaptive.rs
- ex138_lit_rel_opg.rs
- ex146_per_request_mode.rs
- ex150_misc_urls.rs
- ex151_srp_fallback.rs
- ex176_live_2fa_code_provider.rs
- ex179_wire_repro.rs
- ex96_order_lifecycle.py
- ex97_market_data_depth.py
- ex98_account_pnl.py
- ex99_bracket_order.py
- ex_axti_contract_details.rs
- ex_parallel_farm_logon.rs
- hello_bar_data.py
- hello_bar_data.rs
- hello_contract_details.py
- hello_contract_details.rs
- hello_l2.py
- hello_limit_order.py
- hello_limit_order.rs
- hello_login.py
- hello_login.rs
- hello_login_live.py
- hello_login_live.rs
- hello_pnl.py
- hello_pnl.rs
- hello_scanner.py
- hello_scanner.rs
- hello_stop_order.py
- hello_stop_order.rs
- hello_tick_data.py
- hello_tick_data.rs
- l2_aapl_tsla.rs
- l2_two_tickers.rs
- margin_reject_tsla.rs
- premarket_lifecycle.rs
- premarket_marketable_axti.rs
- seed_spy_position.rs
- validate_154.rs
- bar_data.ipynb
- basics.ipynb
- contract_details.ipynb
- market_depth.ipynb
- ordering.ipynb
- scanners.ipynb
- tick_data.ipynb
- gen_api_docs.py
- l2_tsla.py
- account.rs
- dispatch.rs
- market_data.rs
- mod.rs
- orders.rs
- reference.rs
- stubs.rs
- tests.rs
- mod.rs
- types.rs
- wrapper.rs
- crypto.rs
- dh.rs
- mod.rs
- session.rs
- srp.rs
- bench_decode.rs
- bench_first_tick.rs
- bench_limit_order.rs
- bench_market_order.rs
- bench_multi_instrument.rs
- bench_order_burst.rs
- bench_order_modify.rs
- bench_replay.rs
- bench_tbt.rs
- bench_ticks.rs
- benchmark.rs
- account.rs
- contracts.rs
- fundamental.rs
- histogram.rs
- historical.rs
- mod.rs
- news.rs
- scanner.rs
- ccp.rs
- farm.rs
- hmds.rs
- mod.rs
- order_builder.rs
- context.rs
- market_state.rs
- mod.rs
- connection.rs
- fix.rs
- fixcomp.rs
- mod.rs
- ns.rs
- tick_decoder.rs
- xyz.rs
- account.rs
- dispatch.rs
- market_data.rs
- mod.rs
- orders.rs
- reference.rs
- stubs.rs
- test_helpers.rs
- contract.rs
- mod.rs
- tick_types.rs
- wrapper.rs
- mod.rs
- types.rs
- bridge.rs
- client_core.rs
- config.rs
- gateway.rs
- lib.rs
- logging.rs
- main.rs
- types.rs
- account.rs
- common.rs
- connection.rs
- contracts.rs
- coverage.rs
- error_handling.rs
- heartbeat.rs
- historical.rs
- main.rs
- market_data.rs
- multi_asset.rs
- orders.rs
- test_bridge_integration.py
- test_compat_classes.py
- test_compat_connection.py
- test_compat_tier1.py
- test_compat_tier2.py
- test_compat_tier3.py
- test_issue_100.py
- test_issue_104.py
- test_issue_105.py
- test_issue_106.py
- test_issue_107.py
- test_issue_108.py
- test_issue_109.py
- test_issue_110.py
- test_issue_111.py
- test_issue_112.py
- test_issue_113.py
- test_issue_115.py
- test_issue_116.py
- test_issue_117.py
- test_issue_159.py
- test_issue_160.py
- test_issue_160_cancel_reject.py
- test_issue_165.py
- test_issue_199.py
- test_issue_96.py
- test_issue_97.py
- test_issue_97_market_data.py
- test_issue_98.py
- test_issue_99.py
- test_issue_ib112.py
- test_issue_ib113.py
- test_live_depth.py
- test_live_e2e.py
- test_live_python_wrappers.py
- test_live_session_features.py
- control_plane.rs
- depth_wire_test.rs
- error_edge_concurrency.rs
- farm_reconnect_poc.rs
- hot_loop_lifecycle.rs
- protocol_vectors.rs
- rust_api_gt.rs
- scenarios.rs
- .gitignore
- Cargo.lock
- Cargo.toml
- LICENSE
- pyproject.toml
- README.md
- uv.lock
# Installation Guide
1. Get the code
git clone https://github.com/deepentropy/ibx
Downloads the entire project code from GitHub to your computer.
cd ibx
Moves into the project folder you just downloaded.
2. Official Install Script
Easy RecommendedPrerequisites
- Python 3 Python is required to use pip.
pip install maturin
Installs the package published on PyPI directly โ no need to clone the source.
After installing, open a new terminal and run the program's version command (e.g. --version) to confirm it worked.
Pulled directly from this repo's README.
3. Python
EasyPrerequisites
pip install maturin
Installs the package published on PyPI directly โ no need to clone the source.
If it runs without errors and prints output in the terminal, it worked.
Pulled directly from this repo's README.
4. Rust
MediumPrerequisites
- Git Needed to download the project code from GitHub.
- Rust (rustup) Installing via rustup also installs cargo.
cargo build --release
Compiles the Rust project.
cargo run
Builds and then immediately runs the program.
If cargo build finishes without errors, it worked. The executable is created under target/.
// repository documentation
Was this content helpful?
(0 ratings)
