How to combine UpdtMessage in the Real Time Optimized to get complete Bid and Ask record ?

In Real Time Optimized if latest Update Message has Only Bid and Quote Time NS then in order to create complete record of Bid and Ask for the Ric do we use the Ask from previous quote message , but in this case which time we can use from prev updtMessage /latetst updtMessage.
Best Answer
-
Hi @devs@bestx,
Your thinking is correct. The real time service sends a full Refresh message first, followed by the Updates. The refresh message is a complete snapshot upto that point in time. Every subsequent update message is a delta - i.e. only contains the fields which have changed since the previous update.
So, in your example the price and time for ASK from previous update should be used.
0
Answers
-
Can we use latest time , as we are showing latest bid and Ask time for the ric in following example of update message similarly it goes for other fields too
if only Ask has changed from 172.60 -> 172.56
RIC|QuoteTime|Bid|Ask
1AAPLm.BCO|12:10:22:820:033:000|172.44|172.60
1AAPLm.BCO|12:10:47:110:622:000|172.44|172.56
0 -
0
-
Just want to verify I think we cannot use previous time for ASK , as we are representing the bid and ask for the latest time so what should be the behavior here for e.g. below makes sense
SYMBOL|QUOTETIME|BID|ASK
1AAPLm.BCO|12:10:22:820:033:000|172.44|172.60
1AAPLm.BCO|12:10:47:110:622:000|172.44|172.56
UpdateMsg
streamId="55"
domain="MarketPrice Domain"
updateTypeNum="10"
name="/1AAPLm.BCO"
serviceId="257"
serviceName="ELEKTRON_DD"
Payload dataType="FieldList"
FieldList
FieldEntry fid="22" name="BID" dataType="Real" value="172.4400"
FieldEntry fid="25" name="ASK" dataType="Real" value="172.6000"
FieldEntry fid="30" name="BIDSIZE" dataType="Real" value="7.0"
FieldEntry fid="31" name="ASKSIZE" dataType="Real" value="7.0"
FieldEntry fid="293" name="BID_MMID1" dataType="Rmtes" value="JNSI"
FieldEntry fid="296" name="ASK_MMID1" dataType="Rmtes" value="JNSI"
FieldEntry fid="3386" name="QUOTE_DATE" dataType="Date" value="14 MAY 2024"
FieldEntry fid="11993" name="SINT_IND" dataType="Rmtes" value="SINT"
FieldEntry fid="14263" name="ASK_TIM_NS" dataType="Time" value="12:10:22:820:033:000"
FieldEntry fid="14264" name="BID_TIM_NS" dataType="Time" value="12:10:22:728:326:000"
FieldEntry fid="14265" name="QUOTIM_NS" dataType="Time" value="12:10:22:820:033:000"
FieldEntry fid="14269" name="TIMACT_NS" dataType="Time" value="12:10:22:820:033:000"
FieldEntry fid="14281" name="INGEST_NS" dataType="Time" value="12:10:22:820:033:000"
FieldListEnd
PayloadEnd
UpdateMsgEnd
UpdateMsg
streamId="55"
domain="MarketPrice Domain"
updateTypeNum="10"
name="/1AAPLm.BCO"
serviceId="257"
serviceName="ELEKTRON_DD"
Payload dataType="FieldList"
FieldList
FieldEntry fid="25" name="ASK" dataType="Real" value="172.5600"
FieldEntry fid="31" name="ASKSIZE" dataType="Real" value="7.0"
FieldEntry fid="296" name="ASK_MMID1" dataType="Rmtes" value="JNSI"
FieldEntry fid="3386" name="QUOTE_DATE" dataType="Date" value="14 MAY 2024"
FieldEntry fid="11993" name="SINT_IND" dataType="Rmtes" value="SINT"
FieldEntry fid="14263" name="ASK_TIM_NS" dataType="Time" value="12:10:47:110:622:000"
FieldEntry fid="14265" name="QUOTIM_NS" dataType="Time" value="12:10:47:110:622:000"
FieldEntry fid="14269" name="TIMACT_NS" dataType="Time" value="12:10:47:110:622:000"
FieldEntry fid="14281" name="INGEST_NS" dataType="Time" value="12:10:47:110:622:000"
FieldListEnd
PayloadEnd
UpdateMsgEnd
0 -
Hi @devs@bestx,
Conceptually there is no latest time for both Bid and Ask. These update messages are generated by listing venue, when the top of the Buy or Sell side of orderbook updates due to market activity. Each order can update without affecting other side - which is why the update message contains separate fields for BID time and Ask time.
What time an application should display for the quote, depends on the application use case and is up to the user to choose. For most generic applications, using the QUOTIM is sufficient.
0
Categories
- All Categories
- 3 Polls
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 690 Datastream
- 1.4K DSS
- 629 Eikon COM
- 5.2K Eikon Data APIs
- 11 Electronic Trading
- 1 Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 255 ETA
- 559 WebSocket API
- 39 FX Venues
- 15 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 25 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 280 Open PermID
- 45 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 23 RDMS
- 2K Refinitiv Data Platform
- 717 Refinitiv Data Platform Libraries
- 4 LSEG Due Diligence
- LSEG Due Diligence Portal API
- 4 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.2K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 12 World-Check Customer Risk Screener
- 1K World-Check One
- 46 World-Check One Zero Footprint
- 45 Side by Side Integration API
- 2 Test Space
- 3 Thomson One Smart
- 10 TR Knowledge Graph
- 151 Transactions
- 143 REDI API
- 1.8K TREP APIs
- 4 CAT
- 27 DACS Station
- 121 Open DACS
- 1.1K RFA
- 106 UPA
- 194 TREP Infrastructure
- 229 TRKD
- 918 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 95 Workspace SDK
- 11 Element Framework
- 5 Grid
- 19 World-Check Data File
- 1 Yield Book Analytics
- 48 中文论坛