pub enum IncomingMessages {
Show 88 variants
Shutdown = -2,
NotValid = -1,
TickPrice = 1,
TickSize = 2,
OrderStatus = 3,
Error = 4,
OpenOrder = 5,
AccountValue = 6,
PortfolioValue = 7,
AccountUpdateTime = 8,
NextValidId = 9,
ContractData = 10,
ExecutionData = 11,
MarketDepth = 12,
MarketDepthL2 = 13,
NewsBulletins = 14,
ManagedAccounts = 15,
ReceiveFA = 16,
HistoricalData = 17,
BondContractData = 18,
ScannerParameters = 19,
ScannerData = 20,
TickOptionComputation = 21,
TickGeneric = 45,
TickString = 46,
TickEFP = 47,
CurrentTime = 49,
RealTimeBars = 50,
FundamentalData = 51,
ContractDataEnd = 52,
OpenOrderEnd = 53,
AccountDownloadEnd = 54,
ExecutionDataEnd = 55,
DeltaNeutralValidation = 56,
TickSnapshotEnd = 57,
MarketDataType = 58,
CommissionsReport = 59,
Position = 61,
PositionEnd = 62,
AccountSummary = 63,
AccountSummaryEnd = 64,
VerifyMessageApi = 65,
VerifyCompleted = 66,
DisplayGroupList = 67,
DisplayGroupUpdated = 68,
VerifyAndAuthMessageApi = 69,
VerifyAndAuthCompleted = 70,
PositionMulti = 71,
PositionMultiEnd = 72,
AccountUpdateMulti = 73,
AccountUpdateMultiEnd = 74,
SecurityDefinitionOptionParameter = 75,
SecurityDefinitionOptionParameterEnd = 76,
SoftDollarTier = 77,
FamilyCodes = 78,
SymbolSamples = 79,
MktDepthExchanges = 80,
TickReqParams = 81,
SmartComponents = 82,
NewsArticle = 83,
TickNews = 84,
NewsProviders = 85,
HistoricalNews = 86,
HistoricalNewsEnd = 87,
HeadTimestamp = 88,
HistogramData = 89,
HistoricalDataUpdate = 90,
RerouteMktDataReq = 91,
RerouteMktDepthReq = 92,
MarketRule = 93,
PnL = 94,
PnLSingle = 95,
HistoricalTick = 96,
HistoricalTickBidAsk = 97,
HistoricalTickLast = 98,
TickByTick = 99,
OrderBound = 100,
CompletedOrder = 101,
CompletedOrdersEnd = 102,
ReplaceFAEnd = 103,
WshMetaData = 104,
WshEventData = 105,
HistoricalSchedule = 106,
UserInfo = 107,
HistoricalDataEnd = 108,
CurrentTimeInMillis = 109,
ConfigResponse = 110,
UpdateConfigResponse = 111,
}Expand description
Messages emitted by TWS/Gateway over the market data socket.
Variants§
Shutdown = -2
Gateway initiated shutdown.
NotValid = -1
Unknown or unsupported message id.
TickPrice = 1
Tick price update.
TickSize = 2
Tick size update.
OrderStatus = 3
Order status update.
Error = 4
Error (includes request id and code).
OpenOrder = 5
Open order description.
AccountValue = 6
Account value key/value pair.
PortfolioValue = 7
Portfolio value line.
AccountUpdateTime = 8
Account update timestamp.
NextValidId = 9
Next valid order id notification.
ContractData = 10
Contract details payload.
ExecutionData = 11
Execution data update.
MarketDepth = 12
Level 1 market depth row update.
MarketDepthL2 = 13
Level 2 market depth row update.
NewsBulletins = 14
News bulletin broadcast.
ManagedAccounts = 15
List of managed accounts.
ReceiveFA = 16
Financial advisor configuration data.
HistoricalData = 17
Historical bar data payload.
BondContractData = 18
Bond contract details payload.
ScannerParameters = 19
Scanner parameter definitions.
ScannerData = 20
Scanner subscription results.
TickOptionComputation = 21
Option computation tick.
TickGeneric = 45
Generic numeric tick (e.g. implied volatility).
TickString = 46
String-valued tick (exchange names, etc.).
TickEFP = 47
Exchange for Physical tick update.
CurrentTime = 49
Current world clock time.
RealTimeBars = 50
Real-time bars update.
FundamentalData = 51
Fundamental data response.
ContractDataEnd = 52
End marker for contract details batches.
OpenOrderEnd = 53
End marker for open order batches.
AccountDownloadEnd = 54
End marker for account download.
ExecutionDataEnd = 55
End marker for execution data.
DeltaNeutralValidation = 56
Delta-neutral validation response.
TickSnapshotEnd = 57
End of tick snapshot.
MarketDataType = 58
Market data type acknowledgment.
CommissionsReport = 59
Commissions report payload.
Position = 61
Position update.
PositionEnd = 62
End marker for position updates.
AccountSummary = 63
Account summary update.
AccountSummaryEnd = 64
End marker for account summary stream.
VerifyMessageApi = 65
API verification challenge.
VerifyCompleted = 66
API verification completion.
DisplayGroupList = 67
Display group list response.
DisplayGroupUpdated = 68
Display group update.
VerifyAndAuthMessageApi = 69
Auth + verification challenge.
VerifyAndAuthCompleted = 70
Auth + verification completion.
PositionMulti = 71
Multi-account position update.
PositionMultiEnd = 72
End marker for multi-account position stream.
AccountUpdateMulti = 73
Multi-account account update.
AccountUpdateMultiEnd = 74
End marker for multi-account account stream.
SecurityDefinitionOptionParameter = 75
Option security definition parameters.
SecurityDefinitionOptionParameterEnd = 76
End marker for option security definition stream.
SoftDollarTier = 77
Soft dollar tier information.
FamilyCodes = 78
Family code response.
SymbolSamples = 79
Matching symbol samples.
MktDepthExchanges = 80
Exchanges offering market depth.
TickReqParams = 81
Tick request parameter info.
SmartComponents = 82
Smart component routing map.
NewsArticle = 83
News article content.
TickNews = 84
News headline tick.
NewsProviders = 85
Available news providers.
HistoricalNews = 86
Historical news headlines.
HistoricalNewsEnd = 87
End marker for historical news.
HeadTimestamp = 88
Head timestamp for historical data.
HistogramData = 89
Histogram data response.
HistoricalDataUpdate = 90
Streaming historical data update.
RerouteMktDataReq = 91
Market data request reroute notice.
RerouteMktDepthReq = 92
Market depth request reroute notice.
MarketRule = 93
Market rule response.
PnL = 94
Account PnL update.
PnLSingle = 95
Single position PnL update.
HistoricalTick = 96
Historical tick data (midpoint).
HistoricalTickBidAsk = 97
Historical tick data (bid/ask).
HistoricalTickLast = 98
Historical tick data (trades).
TickByTick = 99
Tick-by-tick streaming data.
OrderBound = 100
Order bound notification for API multiple endpoints.
CompletedOrder = 101
Completed order information.
CompletedOrdersEnd = 102
End marker for completed orders.
ReplaceFAEnd = 103
End marker for FA profile replacement.
WshMetaData = 104
Wall Street Horizon metadata update.
WshEventData = 105
Wall Street Horizon event payload.
HistoricalSchedule = 106
Historical schedule response.
UserInfo = 107
User information response.
HistoricalDataEnd = 108
End marker for historical data.
CurrentTimeInMillis = 109
Current time in milliseconds.
ConfigResponse = 110
Configuration response.
UpdateConfigResponse = 111
Update configuration response.
Trait Implementations§
Source§impl Clone for IncomingMessages
impl Clone for IncomingMessages
Source§fn clone(&self) -> IncomingMessages
fn clone(&self) -> IncomingMessages
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for IncomingMessages
impl Debug for IncomingMessages
Source§impl From<i32> for IncomingMessages
impl From<i32> for IncomingMessages
Source§fn from(value: i32) -> IncomingMessages
fn from(value: i32) -> IncomingMessages
Source§impl FromStr for IncomingMessages
impl FromStr for IncomingMessages
Source§impl Hash for IncomingMessages
impl Hash for IncomingMessages
Source§impl PartialEq for IncomingMessages
impl PartialEq for IncomingMessages
impl Copy for IncomingMessages
impl Eq for IncomingMessages
impl StructuralPartialEq for IncomingMessages
Auto Trait Implementations§
impl Freeze for IncomingMessages
impl RefUnwindSafe for IncomingMessages
impl Send for IncomingMessages
impl Sync for IncomingMessages
impl Unpin for IncomingMessages
impl UnsafeUnpin for IncomingMessages
impl UnwindSafe for IncomingMessages
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.