Elektron Websocket API - receives null values in ASK field

Options

I'm connecting to the ERT in Cloud Websocket API to stream market price data, and want to clarify what it means when I receive a null value for the ASK field (FID: 25) in a Refresh Message and an Update Message. E.g.

  {
    "ID": 3,
    "Type": "Refresh",
    "Key": {
      "Service": "ELEKTRON_DD",
      "Name": "EURQAR="
    },
    "Fields": {
      "BID": 3.9654,
      "ASK": null
...

I have seen some answers for other applications (https://community.developers.refinitiv.com/questions/48255/empty-field-value-bidask.html) but want to make sure I'm interpreting this null value correctly for the WebSocket API example. Can you confirm how I should interpret a null value for BID or ASK in both Refresh and Update messages? Thanks!

Best Answer

  • umer.nalla
    umer.nalla LSEG
    Answer ✓

    Hi @elisa.christian

    Regardless of which realtime streaming API you use - RFA, Elektron SDK or WebSocket - and whether you are consuming Elektron Data from a deployed TREP server or from the Cloud you are accessing the same underlying data from the server/cloud.

    Therefore the interpretation of Null field remains the same.

Answers