11 releases

0.2.0 Nov 24, 2022
0.2.0-alpha.1 Nov 23, 2022
0.1.0 Nov 22, 2022
0.1.0-beta.4 Nov 21, 2022
0.1.0-alpha.4 Nov 19, 2022

#122 in #finance

23 downloads per month

LGPL-3.0-only

300KB
8K SLoC

Interactive Brokers TWS API - Tokio

Examples

A transport implementation using Tokio, intended to be used with the ib_tws_core::AsyncClient.

Usage

let client = {
	let transport = ib_tws_tokio::Transport::connect(
		"127.0.0.1:4001".parse().unwrap(),
		Duration::from_secs(5),
	)
	.await?;
	ib_tws_core::AsyncClient::setup(transport, 0).await?
};
info!(version = client.server_version(), "connected to client");

Dependencies

~7–14MB
~154K SLoC