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 /

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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

avatar image
REFINITIV
Question by Laarni Evelyn Acierto.Santiago · May 06, 2019 at 06:27 AM · elektron-sdktreprdp-apiwebsocketsrrto

Elektron Websocket

Hello,


I am a developper at Walnut Algorithm I have some questions about Elektron via Websocket.

Today we use a delayed stream to test the service. For instance I can subscribe to /TOTF.PA but cannot subscribe to TOTF.PA. The problem is the stream appears to be JITConflated and I cannot see if the events will be effectively split as they are when we request extraction on TRTH.

1/ As the Elektron mechanism is to send only updates which occured in fields I wonder if we can receive all Quote and Trade events occuring in the same micro seconds (we can see this happens on TRTH datascope extraction) ?

2/ What is the best practice dynamically subscribe & unsubscribe to data with the websocket ? Get one websocket by instrument and keep the same when we have to subscribe to new instrument or use a new one for each subscription ?

3/ Also I would like to know how it works behind. I mean, does the websocket toggle in conflated mode if we don't call ReceiveAsync at a sufficent pace ? Or It is independent and messages are queued on server side ?

bansalshah

People who like this

1 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.

3 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by Gurpreet · May 06, 2019 at 12:43 PM

Hi @Laarni Evelyn Acierto.Santiago Its better to ask a single focused question so that we help you get an exact answer.

Your delayed service might not be carrying the real time instrument TOTF.PA. The websockets API is provided for the ease of use - in any environment and language of choice. It is unable to support the real time streaming updates for equity instruments, and hence the data is conflated. If you have a need to get real time tick-by-tick updates, please use the Elektron C++ or Java SDK.

A user can either keep the instrument stream open or close it if its no longer required. Any new instrument subscription has to be on a new request ID. An application should use a single websocket connection to connect to infrastructure and use it for all subscription needs.

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
aschmied · Feb 16 at 10:46 PM 0
Share
This answer expands on the "new request ID" point for new symbols. Might be helpful for someone else. I misinterpreted the above answer and thought I couldn't add new symbols in the way I wanted.
avatar image
REFINITIV
Answer by Laarni Evelyn Acierto.Santiago · May 07, 2019 at 04:29 AM

Hi @Gurpeet,

Please see the follow up from client.

You said websocket is unable to support real time streaming updates for equities but is it able to manage real time for equity index future by any chance ?

Thank you in advance.

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 umer.nalla · May 07, 2019 at 06:15 AM

Hi @Laarni Evelyn Acierto.Santiago

At this point in time all realtime data on Elektron Realtime in Cloud is conflated - Full Tick is not supported - regardless of which API is used to consume the data. Essentially the current conflation rate is all trade type events + 3 quotes a second if no trades take place.

If you want full tick data then you will need to connect to a deployed or hosted TREP with your API - Websocket or EMA - connecting to the ADS server configured for a full tick service.

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

Any action needed for this error: Message Ordering Error. Recalling?

Establish a websocket connection and set headers?

Issue tracking by looking at logs

Elektron WebSocket API: Secure WebSocket (wss)

WebSocket API channel disconnects with batch request

  • 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
  • FX Venues
    • FX Trading – RFQ Maker
  • 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
  • Yield Book Analytics
  • 中文论坛
  • Explore
  • Tags
  • Questions
  • Badges