Expand description
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
- market_
data - APIs for retrieving market data
- news
- orders
- Data types for building and placing orders.
- scanner
- APIs for working with the market scanner.
- wsh
- APIs for working with 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