Expand description
Real-time streaming market data helpers. Real-time market data API.
§Canonical paths
Real-time methods are inherent methods on ibapi::Client — call
client.realtime_bars(...), client.tick_by_tick(...),
client.market_depth(...), etc. The public types (Bar, BidAsk,
MidPoint, Trade, TickTypes, Quote, MarketDataBuilder, RealtimeBarsBuilder,
TickByTickBuilder, MarketDepthBuilder, etc.) live at
ibapi::market_data::realtime::* and via ibapi::prelude::*.
The realtime::sync and realtime::r#async submodules are where the
impls live; they carry no public items of their own. Prefer the canonical
Client method calls and the market_data::realtime::* type spellings.
Modules§
- generic_
tick - Named constants for IB generic tick request IDs.
Structs§
- Bar
- Represents a real-time bar with OHLCV data
- BidAsk
- Represents
BidAsktick by tick realtime tick. - BidAsk
Attribute - Attributes for bid/ask tick data.
- Depth
Market Data Description - Stores depth market data description.
- Market
Data Builder - Builder for creating market data subscriptions with a fluent interface.
- Market
Depth - Returns the order book.
- Market
Depth Builder - Builder for level-2 (order book) market-depth subscriptions.
- Market
Depth L2 - Returns the order book.
- MidPoint
- Represents
MidPointtick by tick realtime tick. - Quote
- Latest known market data for one contract, folded from
TickTypes. - Realtime
Bars Builder - Builder for real-time 5-second bar subscriptions.
- Tick
Attribute - Attributes associated with price ticks.
- Tick
ByTick Builder - Builder for tick-by-tick real-time subscriptions.
- Tick
Generic - Generic tick data.
- Tick
Price - Price tick data.
- Tick
Price Size - Combined price and size tick data.
- Tick
Request Parameters - Parameters related to tick data requests.
- Tick
Size - Size tick data.
- Tick
String - String-based tick data.
- Trade
- Represents
LastorAllLasttick-by-tick real-time tick. - Trade
Attribute - Attributes for trade tick data.
Enums§
- Market
Depths - Market depth data types.
- Tick
Types - Various types of market data ticks.
- What
ToShow - Specifies the type of data to show for real-time bars.