price.streams / Web App / react.js

Hi, I have a few questions regarding codebook?

Question 1: I am now on a trial of Workspace, and I am trying to open a pricing.sream using your kernels. The pricing.streams work for FX, but when I put in an Equity I get an NA. Any idea why?

Question 2: We are developing an internal web app, this web app collates data collected by analysts, the web app is made in react.js. If we need to get realtime pricing for equities we have in our universe / web app, how can we do it? Can we call the API directly from the web app and how?


Regards,

Best Answer

  • wasin.w
    wasin.w admin
    Answer ✓

    Hello @ajaber

    Thank you for contacting us, please see the answers below.
    Question 1: I am now on a trial of Workspace, and I am trying to open pricing.streams using your kernels. The pricing.streams work for FX, but when I put in an Equity I get an NA. Any idea why?

    Answer:

    The data "NA" issue can happen for various reasons. Can you share your snippet code, the item name (or RIC name), and the screenshot when the problem occurs?

    Question 2: We are developing an internal web app, this web app collates data collected by analysts, the web app is made in react.js. If we need to get realtime pricing for equities we have in our universe / web app, how can we do it? Can we call the API directly from the web app and how?

    Answer:

    If you want to get real-time streaming data for the web application, there are two suggested APIs as follows:

    The first one is the Refinitiv Data (RD) Library for TypeScript which is an ease-of-use API defining a set of uniform interfaces providing the developer access to the Refinitiv Data Platform (RDP) in TypeScript language. If you are using the Codebook, you are using its cousin API, Refinitiv Data (RD) Library for Python. You can find more detail about the RD Library - TypeScript from the following resources:

    Note: The RD Library TypeScript is still in the beta phase.

    The second one is Real-Time WebSocket API (aka WebSocket API) which is the core WebSocket protocol and specification to connect to the Refinitiv Real-Time (deployed RTDS or Cloud - RTO, the streaming service of RDP). It is a bit low-level but supports various programming languages that support WebSocket and JSON message format. You can find more detail about the WebSocket API from the following resources:

    Hope this helps.

Answers