Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • Elektron /
  • WebSocket API /
avatar image
Question by krishna muppavarapu · Jul 21, 2020 at 05:23 PM · websocket api

Market depth (L2 data) "Complete" flag

Hi,

I have question related to Market Depth response (L2 data).

In "Refresh" message which is the first response we receive sometimes contains flag called "Complete". I understand that the default of this flag is true if not present and we should wait for the next Refresh message.

Is it possible to get this 'Complete' flag even in "Update" event types (i.e all messages we receive after the "Refresh" ?

People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

2 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by Gurpreet · Jul 21, 2020 at 05:30 PM

Complete flag will only be included in the Refresh message. Update messages will not have this flag - however, due to race around condition, it might happen that you receive an Update message before the final Refresh message is received. So you should be able to handle this situation in your application.

See the message description for MBO here - https://docs-developers.refinitiv.com/1595352524651/14977/#page/RDM%2520Usage%2FMarketbyOrder.2.2.html%23

Comment

People who like this

0 Show 1 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
krishna muppavarapu · Aug 07, 2020 at 05:34 PM 0
Share

Thank you for your reply. If we receive update messages in between refresh messages then what should be the order in which we should consume?

Process all refresh messages in the order in which received and then process all updates in the same order we received (i.e all updates received before last refresh)

avatar image
REFINITIV
Answer by umer.nalla · Jul 22, 2020 at 08:41 AM

Hi @krishna muppavarapu

As you are looking at L2 data, you may also find this article useful. Whilst using EMA C++ for the coding, much of the intro section and techniques would apply to data received using Websocket API as well.


Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
10 People are following this question.

Related Questions

Maximum number of open streams - Elektron Websocket API:

Elektron Realtime Cloud Websocket API, Data is 10 mins late. Data only updates once per minute

[EDP WebSocket] What does the takeExclusiveSignOnControl in token request mean?

MRN Python sample - ERT in Cloud (WebSocket)

Elektron WebSocket API: Secure WebSocket (wss)

  • Feedback
  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Careers
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Calais
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRIT
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • World-Check Data File
  • Explore
  • Tags
  • Questions
  • Badges