rust-ibapi
rust-ibapi copied to clipboard
An implementation of the Interactive Brokers API for Rust
To reproduce: 1. Open TWS 2. Connect via 'let mut client = Client::connect("127.0.0.1:7496", 100).unwrap();' 3. Close TWS Expected result: Script still alive and trying to reconnect. Actual result: Script terminated.
## Summary To retrieve historical data for futures contracts, the `Contract` fields for `exchange` and `last_trade_date_or_contract_month` need to be filled in, but `Contract::futures(symbol)` only accepts one argument for the symbol,...
Hi, Can you provide a minimal example of getting RT Volume (tickid 48) or another of list as Trade Count (tickid 54) with the aim of know how create a...
Hi! Can you provide an example using a bracket order? Docu https://interactivebrokers.github.io/tws-api/bracket_order.html
Requests all available Display Groups in TWS. [IB Doc](https://interactivebrokers.github.io/tws-api/classIBApi_1_1EClient.html#a7cf28264b3b410670fab515d6f02912f)
Starts a subscription to market scan results based on the provided parameters. [documentation](https://interactivebrokers.github.io/tws-api/classIBApi_1_1EClient.html#acad52cf030d62faa55656f27039dcb49) [also](https://interactivebrokers.github.io/tws-api/classIBApi_1_1EClient.html#ad417f239540d1b0bc2f15b3649541526)
Requests an XML list of scanner parameters valid in TWS. [documentation](https://interactivebrokers.github.io/tws-api/classIBApi_1_1EClient.html#a5839736a34d827f8db87f536a73ae970)
Returns the mapping of single letter codes to exchange names given the mapping identifier. [documentation](https://interactivebrokers.github.io/tws-api/classIBApi_1_1EClient.html#aa5de1b3f68e143c6b10d5eda83d2ffe3)
Requests security definition option parameters for viewing a contract's option chain. [documentation](https://interactivebrokers.github.io/tws-api/classIBApi_1_1EClient.html#adb17b291044d2f8dcca5169b2c6fd690)
Requests metadata from the WSH calendar. [documentation](https://interactivebrokers.github.io/tws-api/classIBApi_1_1EClient.html#a66b482661e36604c43c4a7087bd7840f)