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 /

For a deeper look into our Elektron API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

avatar image
Question by shahbaz.ansari · Oct 20, 2020 at 03:47 PM · elektronrefinitiv-realtimeelektron-sdktrepwebsockets

Empty message recieved form websocket

Hello, I'm would like to understand the messages below. First message shows data which is fine, but I am not sure why we got the second message which appears to be empty as there are no updates provided within the message. Is this expected behavior?

Multiple Messages:


[

{

"ID":3,"Type":"Update","UpdateType":"Unspecified","Key":{"Service":"ELEKTRON_DD","Name":"1MCU3=LX"},"SeqNumber":28208,

"Fields":{"TIMACT":"08:15:00","TIMACT_MS":29712490,"EXCHTIM":"08:15:12.49","BEST_BID10":6556.50,"BEST_BSZ10":2,"NO_BIDRD10":2,"NO_BIDMK10":2}


},

{

"ID":3,"Type":"Update","UpdateType":"Unspecified","Key":{"Service":"ELEKTRON_DD","Name":"1MCU3=LX"},"SeqNumber":28224,

"Fields":{"TIMACT":"08:15:00","TIMACT_MS":29712490,"EXCHTIM":"08:15:12.49"}

}

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.

6 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by zoya faberov · Oct 20, 2020 at 06:17 PM

Hello @shahbaz.ansari,

An update without any apparent changes is rare, but is not, in itself, an error. This update includes 3 fields, including time of the last action, that make it a valid update. It is possible for exchange to publish an update on an instrument that does not apparently contain any meaningful new info. API will just convey whatever information the publisher has published, to the consumer.

Please see this answer for more relevant details

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.

avatar image
Answer by shahbaz.ansari · Oct 20, 2020 at 06:33 PM

thanks, I see that it contains 3 fields but since none of them were actually different from the prior message I wasn't sure if this is a valid 'update' message or some kind of unexpected message. to be clear are you saying that even though this message doesn't contain any updates on the 3 fields it's still considered to be a valid update?

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.

avatar image
REFINITIV
Answer by zoya faberov · Oct 20, 2020 at 07:06 PM

Hello @shahbaz.ansari,

If the message was received from the service, it is legitimate.

As an option, if you get these periodically, not a once-off, then to be 100% sure this is the case, and not an artifact of a custom consumer app issue, you could run a standard example app unmodified, and see if it receives the same type of update from the same instrument.

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.

avatar image
Answer by shahbaz.ansari · Oct 20, 2020 at 10:09 PM
Appreciate the feedback. Is there a tag that identifies these types of messages? this way we can filter them out
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.

avatar image
REFINITIV
Answer by zoya faberov · Oct 20, 2020 at 10:31 PM

They are of no special type. On type, please see your capture, they are of plain "UpdateType":"Unspecified". Which can be indicative of conflated service but not always.

You may optionally check out this previous discussion for the full list of UpdateTypes.

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.

avatar image
REFINITIV
Answer by nick.zincone · Oct 21, 2020 at 02:08 PM

@shahbaz.ansari,

When you requested for this message, did you explicitly specify a set of fields? If you did, there may have been a market data event that caused N fields to change, and based on the fields you specified, you only received updates for the fields you requested.

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 >
11 People are following this question.

Related Questions

websocket connection refused by target machine

Choosing an API to contribute/Post data to TREP

Submit RIC "/TRI.N" vs "TRI.N"

Retrieving chain instruments from ATS with Python

How can I know which legs of a strategy are being bought and sold?

  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Electronic Trading
    • Generic FIX
    • Local Bank Node API
    • Trading API
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Intelligent Tagging
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open Calais
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • RDMS
  • 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
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • Workspace SDK
    • Element Framework
    • Grid
  • World-Check Data File
  • 中文论坛
  • Explore
  • Tags
  • Questions
  • Badges