ib_tws_tokio

Crates.ioib_tws_tokio
lib.rsib_tws_tokio
version0.2.0
sourcesrc
created_at2022-11-19 05:17:34.584935
updated_at2022-11-24 05:37:21.100041
descriptionAn Interactive Broker's TWS API client for Tokio
homepage
repositoryhttps://github.com/fourbytes/ib_tws_rs
max_upload_size
id718389
size37,365
Oscar Rainford (fourbytes)

documentation

README

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");

Commit count: 86

cargo fmt