ibapi 0.2.3

A synchronous implementation of the Interactive Brokers TWS API.
Documentation
1
2
3
4
5
6
7
8
use ibapi::Client;

fn main() {
    let client = Client::connect("127.0.0.1:4002", 100).unwrap();

    let order_id = client.next_valid_order_id().unwrap();
    println!("Next valid order id: {order_id}");
}