WebSocket API Status message Stream: Redirected

I have been perusing the WebSocket API documentation and noticed that the API provides a StatusMessage with atribute Stream : Redirected.

I would assume this is for the case that a new RIC is assigned to an existing instrument?

Is there any chance that you could send an example of such a message or how to trigger it.

2023.png

Best Answer

  • Jirapongse
    Jirapongse ✭✭✭✭✭
    Answer ✓

    @mariusz.swiech1

    Thank you for reaching out to us.

    I am not sure if the Real-Time network still uses this Redirected message. You need to contact the Data Feed team direclty to verify this.

    However, this Redirected message can also be used by third-party providers. Developers can use Refinitiv Real-Time SDKs to publish this message. The message should look like this when using WebSocket.

    Sent 
    {
    "ID": 5,
    "Key": {
    "Name": "TEST.BK",
    "Service": "ELEKTRON_DD"
    }
    }
    Received
    {
            "ID": 5,
            "Type": "Status",
            "Key": {
                "Service": "ELEKTRON_DD",
                "Name": "TEST1.BK"
            },
            "State": {
                "Stream": "Redirected",
                "Data": "Suspect",
                "Text": "Stream redirect for item: TEST.BK"
            }
        }

    The applicaiton needs to focus on State.Stream and the new item in Key.Name.

Answers