Crate ibapi

Source
Expand description

githubcrates-iolicense


A comprehensive Rust implementation of the Interactive Brokers TWS API, providing a robust and user-friendly interface for TWS and IB Gateway. Designed with simplicity in mind, it integrates smoothly into trading systems.

This fully featured API enables the retrieval of account information, access to real-time and historical market data, order management, market scanning, and access to news and Wall Street Horizons (WSH) event data. Future updates will focus on bug fixes, maintaining parity with the official API, and enhancing usability.

For an overview of API usage, refer to the README.

Modules§

accounts
Describes items present in an account.
client
TSW API Client.
contracts
A Contract object represents trading instruments such as a stocks, futures or options.
errors
Error types and handling for the IBAPI library.
market_data
APIs for retrieving market data Market data functionality for real-time and historical data retrieval.
news
News data retrieval and management functionality.
orders
Data types for building and placing orders. Order management and trading functionality.
prelude
A prelude module for convenient importing of commonly used types. A prelude module for convenient importing of commonly used types and traits.
scanner
APIs for working with the market scanner. Market scanner functionality for discovering trading opportunities.
wsh
APIs for working with Wall Street Horizon: Earnings Calendar & Event Data. Wall Street Horizon: Earnings Calendar & Event Data.

Structs§

Client
TWS API Client. Manages the connection to TWS or Gateway. Tracks some global information such as server version and server time. Supports generation of order ids

Enums§

Error