Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
developers:fixapi.marketdataincrementalrefresh [2025/08/15 12:30] – rob | developers:fixapi.marketdataincrementalrefresh [2025/08/15 12:37] (current) – rob | ||
---|---|---|---|
Line 48: | Line 48: | ||
| 326 | Security Trading Status | N | Market Status of Security. 0 = Undefined; 1 = PreOpen; 2 = Open; 3 = RestrictedOpen; | | 326 | Security Trading Status | N | Market Status of Security. 0 = Undefined; 1 = PreOpen; 2 = Open; 3 = RestrictedOpen; | ||
| Standard Trailer | Y | | | | Standard Trailer | Y | | | ||
+ | |||
+ | ====== Sample Messages ====== | ||
+ | |||
+ | |||
+ | The different stages of a Market Data Incremental Refresh session are shown below. In the first message, the incremental refresh session is requested for both Bid (Tag 269=0) and Offer books (Tag 269=1) with a depth of 10 price levels (Tag 264=10) alongside Trade market data snapshots (Tag 269=4). The first message received (with sequence number 4) is a Market Data Snapshot. This message fully establishes the depth details of all (available) price levels for the Bid and Offer books. As available, the following snapshot carries the settlement, limit and high/low prices for the session. Following are four incremental refresh messages indicating changes to different levels of the Bid and Offer books. These incremental changes would be applied (in sequence) to the latest state of the Bid and Offer books as shown in the initial Market Data Snapshot (of sequence number 4). At the end of the samples, three individual Trade market data snapshots are received as these trades occur in the market. | ||
+ | < | ||
+ | Requesting Incremental Refresh Session | ||
+ | 1 - MARKETDATAREQUEST | ||
+ | 34=2|49=T4Example|52=20131125-17: | ||
+ | |||
+ | [MsgSeqNum] 34 = 2 | ||
+ | [SenderCompID] 49 = T4Example | ||
+ | [SendingTime] 52 = 20131125-17: | ||
+ | [TargetCompID] 56 = T4 | ||
+ | [NoRelatedSym] 146 = 1 | ||
+ | [Symbol] 55 = ES | ||
+ | [SecurityID] 48 = CME_20131200_ESZ3 | ||
+ | [SecurityExchange] 207 = CME_Eq | ||
+ | [MDReqID] 262 = 11-25-2013-11: | ||
+ | [SubscriptionRequestType] 263 = 7 (SNAPSHOT_PLUS_UPDATES_INCREMENTAL) | ||
+ | [MarketDepth] 264 = 10 | ||
+ | [MDUpdateType] 265 = 3 (SMART_TRADE) | ||
+ | [NoMDEntryTypes] 267 = 8 | ||
+ | [MDEntryType] 269 = 0 (BID) | ||
+ | [MDEntryType] 269 = 1 (OFFER) | ||
+ | [MDEntryType] 269 = 4 (TRADE) | ||
+ | [MDEntryType] 269 = 7 (TRADING_SESSION_HIGH_PRICE) | ||
+ | [MDEntryType] 269 = 8 (TRADING_SESSION_LOW_PRICE) | ||
+ | [MDEntryType] 269 = K (LIMIT_HIGH_PRICE) | ||
+ | [MDEntryType] 269 = L (LIMIT_LOW_PRICE) | ||
+ | [MDEntryType] 269 = 6 (SETTLEMENT_PRICE) | ||
+ | </ | ||
+ | < | ||
+ | Initial State of Bid and Offer Books | ||
+ | 2 - MARKETDATASNAPSHOT | ||
+ | 34=4|49=T4|56=T4Example|52=20131125-17: | ||
+ | |||
+ | [MsgSeqNum] 34 = 4 | ||
+ | [SenderCompID] 49 = T4 | ||
+ | [TargetCompID] 56 = T4Example | ||
+ | [SendingTime] 52 = 20131125-17: | ||
+ | [SecurityID] 48 = CME_20131200_ESZ3 | ||
+ | [TotalVolumeTraded] 387 = 617967 | ||
+ | [SecurityStatus] 965 = 2 (OPEN) | ||
+ | [NoMDEntries] 268 = 21 | ||
+ | [MDEntryType] 269 = 0 (BID) | ||
+ | [MDEntryPx] 270 = 180425 | ||
+ | [MDEntrySize] 271 = 268 | ||
+ | [MDPriceLevel] 1023 = 1 | ||
+ | [MDEntryType] 269 = 0 (BID) | ||
+ | [MDEntryPx] 270 = 180400 | ||
+ | [MDEntrySize] 271 = 1049 | ||
+ | [MDPriceLevel] 1023 = 2 | ||
+ | [MDEntryType] 269 = 0 (BID) | ||
+ | [MDEntryPx] 270 = 180375 | ||
+ | [MDEntrySize] 271 = 1488 | ||
+ | [MDPriceLevel] 1023 = 3 | ||
+ | [MDEntryType] 269 = 0 (BID) | ||
+ | [MDEntryPx] 270 = 180350 | ||
+ | [MDEntrySize] 271 = 1596 | ||
+ | [MDPriceLevel] 1023 = 4 | ||
+ | [MDEntryType] 269 = 0 (BID) | ||
+ | [MDEntryPx] 270 = 180325 | ||
+ | [MDEntrySize] 271 = 1192 | ||
+ | [MDPriceLevel] 1023 = 5 | ||
+ | [MDEntryType] 269 = 0 (BID) | ||
+ | [MDEntryPx] 270 = 180300 | ||
+ | [MDEntrySize] 271 = 1240 | ||
+ | [MDPriceLevel] 1023 = 6 | ||
+ | [MDEntryType] 269 = 0 (BID) | ||
+ | [MDEntryPx] 270 = 180275 | ||
+ | [MDEntrySize] 271 = 1220 | ||
+ | [MDPriceLevel] 1023 = 7 | ||
+ | [MDEntryType] 269 = 0 (BID) | ||
+ | [MDEntryPx] 270 = 180250 | ||
+ | [MDEntrySize] 271 = 1413 | ||
+ | [MDPriceLevel] 1023 = 8 | ||
+ | [MDEntryType] 269 = 0 (BID) | ||
+ | [MDEntryPx] 270 = 180225 | ||
+ | [MDEntrySize] 271 = 1368 | ||
+ | [MDPriceLevel] 1023 = 9 | ||
+ | [MDEntryType] 269 = 0 (BID) | ||
+ | [MDEntryPx] 270 = 180200 | ||
+ | [MDEntrySize] 271 = 1759 | ||
+ | [MDPriceLevel] 1023 = 10 | ||
+ | [MDEntryType] 269 = 1 (OFFER) | ||
+ | [MDEntryPx] 270 = 180450 | ||
+ | [MDEntrySize] 271 = 768 | ||
+ | [MDPriceLevel] 1023 = 1 | ||
+ | [MDEntryType] 269 = 1 (OFFER) | ||
+ | [MDEntryPx] 270 = 180475 | ||
+ | [MDEntrySize] 271 = 1316 | ||
+ | [MDPriceLevel] 1023 = 2 | ||
+ | [MDEntryType] 269 = 1 (OFFER) | ||
+ | [MDEntryPx] 270 = 180500 | ||
+ | [MDEntrySize] 271 = 1713 | ||
+ | [MDPriceLevel] 1023 = 3 | ||
+ | [MDEntryType] 269 = 1 (OFFER) | ||
+ | [MDEntryPx] 270 = 180525 | ||
+ | [MDEntrySize] 271 = 1476 | ||
+ | [MDPriceLevel] 1023 = 4 | ||
+ | [MDEntryType] 269 = 1 (OFFER) | ||
+ | [MDEntryPx] 270 = 180550 | ||
+ | [MDEntrySize] 271 = 1760 | ||
+ | [MDPriceLevel] 1023 = 5 | ||
+ | [MDEntryType] 269 = 1 (OFFER) | ||
+ | [MDEntryPx] 270 = 180575 | ||
+ | [MDEntrySize] 271 = 1418 | ||
+ | [MDPriceLevel] 1023 = 6 | ||
+ | [MDEntryType] 269 = 1 (OFFER) | ||
+ | [MDEntryPx] 270 = 180600 | ||
+ | [MDEntrySize] 271 = 1783 | ||
+ | [MDPriceLevel] 1023 = 7 | ||
+ | [MDEntryType] 269 = 1 (OFFER) | ||
+ | [MDEntryPx] 270 = 180625 | ||
+ | [MDEntrySize] 271 = 1226 | ||
+ | [MDPriceLevel] 1023 = 8 | ||
+ | [MDEntryType] 269 = 1 (OFFER) | ||
+ | [MDEntryPx] 270 = 180650 | ||
+ | [MDEntrySize] 271 = 1484 | ||
+ | [MDPriceLevel] 1023 = 9 | ||
+ | [MDEntryType] 269 = 1 (OFFER) | ||
+ | [MDEntryPx] 270 = 180675 | ||
+ | [MDEntrySize] 271 = 1396 | ||
+ | [MDPriceLevel] 1023 = 10 | ||
+ | [MDEntryType] 269 = 4 (TRADE) | ||
+ | [MDEntryPx] 270 = 180425 | ||
+ | [MDEntrySize] 271 = 2 | ||
+ | </ | ||
+ | < | ||
+ | Snapshot of Settlement and Session limits | ||
+ | - Snapshot of Settlement and Session limits - | ||
+ | 3 - MARKETDATASNAPSHOT | ||
+ | 34=5|49=T4|56=T4Example|52=20131125-17: | ||
+ | |||
+ | [MsgSeqNum] 34 = 5 | ||
+ | [SenderCompID] 49 = T4 | ||
+ | [TargetCompID] 56 = T4Example | ||
+ | [SendingTime] 52 = 20131125-17: | ||
+ | [SecurityID] 48 = CME_20131200_ESZ3 | ||
+ | [SecurityStatus] 965 = 2 (OPEN) | ||
+ | [NoMDEntries] 268 = 4 | ||
+ | [MDEntryType] 269 = 6 (SETTLEMENT_PRICE) | ||
+ | [MDEntryPx] 270 = 180125 | ||
+ | [MDEntrySize] 271 = 2775739 | ||
+ | [MDEntryType] 269 = 7 (TRADING_SESSION_HIGH_PRICE) | ||
+ | [MDEntryPx] 270 = 180925 | ||
+ | [MDEntryType] 269 = 8 (TRADING_SESSION_LOW_PRICE) | ||
+ | [MDEntryPx] 270 = 180100 | ||
+ | [MDEntryType] 269 = L (LIMIT_LOW_PRICE) | ||
+ | [MDEntryPx] 270 = 167650 | ||
+ | </ | ||
+ | < | ||
+ | Incremental Refreshes on Bid Levels 1 and 8 and Offer Levels 1 and 5 | ||
+ | 4 - MARKETDATAINCREMENTAL | ||
+ | 34=6|49=T4|56=T4Example|52=20131125-17: | ||
+ | |||
+ | [MsgSeqNum] 34 = 6 | ||
+ | [SenderCompID] 49 = T4 | ||
+ | [TargetCompID] 56 = T4Example | ||
+ | [SendingTime] 52 = 20131125-17: | ||
+ | [NoMDEntries] 268 = 4 | ||
+ | [MDUpdateAction] 279 = 1 (CHANGE) | ||
+ | [MDEntryType] 269 = 0 (BID) | ||
+ | [MDPriceLevel] 1023 = 1 | ||
+ | [MDEntrySize] 271 = 287 | ||
+ | [SecurityID] 48 = CME_20131200_ESZ3 | ||
+ | [SecurityTradingStatus] 326 = 2 (OPEN) | ||
+ | [MDUpdateAction] 279 = 1 (CHANGE) | ||
+ | [MDEntryType] 269 = 0 (BID) | ||
+ | [MDPriceLevel] 1023 = 8 | ||
+ | [MDEntrySize] 271 = 1407 | ||
+ | [MDUpdateAction] 279 = 1 (CHANGE) | ||
+ | [MDEntryType] 269 = 1 (OFFER) | ||
+ | [MDPriceLevel] 1023 = 1 | ||
+ | [MDEntrySize] 271 = 783 | ||
+ | [MDUpdateAction] 279 = 1 (CHANGE) | ||
+ | [MDEntryType] 269 = 1 (OFFER) | ||
+ | [MDPriceLevel] 1023 = 5 | ||
+ | [MDEntry | ||
+ | </ | ||
+ | < | ||
+ | Incremental Refresh on Bid Level 1 | ||
+ | 5 - MARKETDATAINCREMENTAL | ||
+ | 34=7|49=T4|56=T4Example|52=20131125-17: | ||
+ | |||
+ | [MsgSeqNum] 34 = 7 | ||
+ | [SenderCompID] 49 = T4 | ||
+ | [TargetCompID] 56 = T4Example | ||
+ | [SendingTime] 52 = 20131125-17: | ||
+ | [NoMDEntries] 268 = 1 | ||
+ | [MDUpdateAction] 279 = 1 (CHANGE) | ||
+ | [MDEntryType] 269 = 0 (BID) | ||
+ | [MDPriceLevel] 1023 = 1 | ||
+ | [MDEntrySize] 271 = 294 | ||
+ | [SecurityID] 48 = CME_20131200_ESZ3 | ||
+ | [SecurityTradingStatus] 326 = 2 (OPEN) | ||
+ | </ | ||
+ | < | ||
+ | Incremental Refresh on Offer Level 2 | ||
+ | 6 - MARKETDATAINCREMENTAL | ||
+ | 34=8|49=T4|56=T4Example|52=20131125-17: | ||
+ | |||
+ | [MsgSeqNum] 34 = 8 | ||
+ | [SenderCompID] 49 = T4 | ||
+ | [TargetCompID] 56 = T4Example | ||
+ | [SendingTime] 52 = 20131125-17: | ||
+ | [NoMDEntries] 268 = 1 | ||
+ | [MDUpdateAction] 279 = 1 (CHANGE) | ||
+ | [MDEntryType] 269 = 1 (OFFER) | ||
+ | [MDPriceLevel] 1023 = 2 | ||
+ | [MDEntrySize] 271 = 1319 | ||
+ | [SecurityID] 48 = CME_20131200_ESZ3 | ||
+ | [SecurityTradingStatus] 326 = 2 (OPEN) | ||
+ | </ | ||
+ | < | ||
+ | Incremental Refresh on Offer Level 2 | ||
+ | 7 - MARKETDATAINCREMENTAL | ||
+ | 34=9|49=T4|56=T4Example|52=20131125-17: | ||
+ | |||
+ | [MsgSeqNum] 34 = 9 | ||
+ | [SenderCompID] 49 = T4 | ||
+ | [TargetCompID] 56 = T4Example | ||
+ | [SendingTime] 52 = 20131125-17: | ||
+ | [NoMDEntries] 268 = 1 | ||
+ | [MDUpdateAction] 279 = 1 (CHANGE) | ||
+ | [MDEntryType] 269 = 1 (OFFER) | ||
+ | [MDPriceLevel] 1023 = 2 | ||
+ | [MDEntrySize] 271 = 1831 | ||
+ | [SecurityID] 48 = CME_20131200_ESZ3 | ||
+ | [SecurityTradingStatus] 326 = 2 (OPEN) | ||
+ | </ | ||
+ | < | ||
+ | Trade Snapshot. 8 contracts at 180425 | ||
+ | 8 - MARKETDATASNAPSHOT | ||
+ | 34=10|49=T4|56=T4Example|52=20131125-17: | ||
+ | |||
+ | [MsgSeqNum] 34 = 10 | ||
+ | [SenderCompID] 49 = T4 | ||
+ | [TargetCompID] 56 = T4Example | ||
+ | [SendingTime] 52 = 20131125-17: | ||
+ | [SecurityID] 48 = CME_20131200_ESZ3 | ||
+ | [TotalVolumeTraded] 387 = 617975 | ||
+ | [NoMDEntries] 268 = 1 | ||
+ | [MDEntryType] 269 = 4 (TRADE) | ||
+ | [MDEntryPx] 270 = 180425 | ||
+ | [MDEntrySize] 271 = 8 | ||
+ | [MDEntryTime] 273 = 20131125-17: | ||
+ | [TickDirection] 274 = 2 (MINUS_TICK) | ||
+ | </ | ||
+ | < | ||
+ | Trade Snapshot. 3 contracts at 180425 | ||
+ | 9 - MARKETDATASNAPSHOT | ||
+ | 34=11|49=T4|56=T4Example|52=20131125-17: | ||
+ | |||
+ | [MsgSeqNum] 34 = 11 | ||
+ | [SenderCompID] 49 = T4 | ||
+ | [TargetCompID] 56 = T4Example | ||
+ | [SendingTime] 52 = 20131125-17: | ||
+ | [SecurityID] 48 = CME_20131200_ESZ3 | ||
+ | [TotalVolumeTraded] 387 = 617978 | ||
+ | [NoMDEntries] 268 = 1 | ||
+ | [MDEntryType] 269 = 4 (TRADE) | ||
+ | [MDEntryPx] 270 = 180425 | ||
+ | [MDEntrySize] 271 = 3 | ||
+ | [MDEntryTime] 273 = 20131125-17: | ||
+ | [TickDirection] 274 = 2 (MINUS_TICK) | ||
+ | </ | ||
+ | < | ||
+ | Trade Snapshot. 1 contracts at 180425 | ||
+ | 10 - MARKETDATASNAPSHOT | ||
+ | 34=12|49=T4|56=T4Example|52=20131125-17: | ||
+ | |||
+ | [MsgSeqNum] 34 = 12 | ||
+ | [SenderCompID] 49 = T4 | ||
+ | [TargetCompID] 56 = T4Example | ||
+ | [SendingTime] 52 = 20131125-17: | ||
+ | [SecurityID] 48 = CME_20131200_ESZ3 | ||
+ | [TotalVolumeTraded] 387 = 617979 | ||
+ | [NoMDEntries] 268 = 1 | ||
+ | [MDEntryType] 269 = 4 (TRADE) | ||
+ | [MDEntryPx] 270 = 180425 | ||
+ | [MDEntrySize] 271 = 1 | ||
+ | [MDEntryTime] 273 = 20131125-17: | ||
+ | [TickDirection] 274 = 2 (MINUS_TICK) | ||
+ | </ | ||
+ | |||
+ | [[developers: | ||