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
Question by Rey · Mar 03, 2020 at 09:40 AM · treprdp-apiwebsocketsrrtopricing

Websocket return code - Close market

Hi,


We would like to know if the API allows us to know the position of the markets, whether they are open, closed or no data available.


- It does not return anything, we then consider that the market is closed

- Or, it returns a specific value, which indicates the closing of the market

- Or, inform about opening and closing hours.


Is there an error list


Thanks

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.

3 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by umer.nalla · Mar 05, 2020 at 10:38 AM

Hi @Rey

The API itself is not providing the null value. You are using the Websocket API to request data for PEGDA from the Elektron feed. If you are receiving a null value, then it is the Elektron feed that is publishing the null value.

The PEGDA RIC is just one of the millions of RICs that we carry on our Elektron feed and characteristics of the data received for each RIC can vary depending on the instrument type / asset class / exchange etc.

The API will just return whatever the feed publishes - that is why I recommended you contact the Content helpdesk so they can explain how each of the instruments / markets you are interested will behave when the market is closed.

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 · Mar 03, 2020 at 11:21 AM

Hi @Rey,

The Websocket API can be used to consume data from a source such as Elektron Realtime in Cloud or a TREP server and is content neutral.

It cannot directly communicate the state of a particular market. Even if you request an instrument from a closed market, you canl still get a response which shows the current state of the instrument e.g. closing price etc.

To determine if the market for that instrument is open / closed or any other state e.g. halted, you will need to raise a Content Type ticket for Elektron with our Helpdesk. When you raise the ticket please provide examples of instruments / markets / asset classes you are interested in.

It would be advisable not to mention Websocket API in the query - to ensure your ticket is routed to a content specialist and not API support.

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 Rey · Mar 04, 2020 at 09:31 AM

Hi Umer,

Thanks for your response. In case this is our request without the token

When the market ix close w have a null value.

Login :

{
   "Domain":"Login",
   "ID":1,
   "Key":{
      "Elements":{
         "ApplicationId":"256",
         "AuthenticationToken":"00000"Position":"1.1.1.1\/myhost"
      },
      "NameType":"AuthnToken"
   }
}

Market message :

{
   "ID":2,
   "Key":{
      "Name":"PEGDA"
   }
}
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 >
8 People are following this question.

Related Questions

Pegas feed not updating

Unsubscribe a ric using websocket

Besides the real-time RIC, can we get the historical ticks using Times and Sales? (from WebSocket API Webinar Nov 29)

MarketByPrice via EWA/websocket; how can I read the value of Map/Entries/"Key" ?

Client_id generation issue in python sample websocket api code

  • 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