ibapi 5.5.0

An unofficial Rust client for the Interactive Brokers TWS API: market data, orders, and account data, with async (Tokio) and blocking clients for TWS and IB Gateway.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! Shared fixtures for the historical sync and async tests.

use crate::messages::HMDS_QUERY_MESSAGE_CODE;

/// The 165 text seen live on a historical request when the HMDS farm connected (#1136).
pub(crate) const HMDS_CONNECTED_MESSAGE: &str = "Historical Market Data Service query message:HMDS server connection was successful.";

/// Notices TWS sends before the bars of a request that still succeeds.
pub(crate) const PRE_DATA_NOTICES: [(i32, &str); 2] = [
    (2188, "Up-to-the-second historical data requires additional subscription for the API."),
    (HMDS_QUERY_MESSAGE_CODE, HMDS_CONNECTED_MESSAGE),
];