ibapi 2.11.1

A Rust implementation of the Interactive Brokers TWS API, providing a reliable and user friendly interface for TWS and IB Gateway. Designed with a focus on simplicity and performance.
Documentation
//! # Display Groups
//!
//! This module provides functionality for subscribing to TWS Display Group events.
//! Display Groups in TWS allow users to organize contracts into color-coded groups
//! (e.g., Group 1 = Red, Group 2 = Orange, etc.).
//!
//! When subscribed to a display group, you receive updates whenever the user
//! changes the contract displayed in that group within TWS.

pub(crate) mod common;

#[cfg(feature = "async")]
pub(crate) mod r#async;

#[cfg(feature = "sync")]
pub(crate) mod sync;

pub(crate) use common::encoders;

pub use common::DisplayGroupUpdate;

#[cfg(feature = "sync")]
/// Blocking display group helpers powered by the synchronous transport.
pub mod blocking {
    pub(crate) use super::sync::*;
}

#[cfg(all(feature = "sync", not(feature = "async")))]
pub use sync::DisplayGroupSubscription;

#[cfg(feature = "async")]
pub use r#async::DisplayGroupSubscription;