Problem updating prices ECB

Good morning,

We are having problems using the websocket to obtain ECB prices in real time (RIC EURGBPREF=). However, we have another connection where we get the prices from reuters (Ric EURGBP=R) that works correctly.

The main problem is that we don't get the daily update, always the same response for all currencies, it only works fine for us stopping the service and starting it again, but prices are not updated automatically.


We are using a Windows environment and C++ language


Setting:

"Token": {
   "GrantType": "password",
   "Scope": "trapi.streaming.pricing.read",
   "Username": "", -- Deleted for security
   "Password": "", -- Deleted for security
   "ClientId": "", -- Deleted for security
   "TakeExclusiveSignOnControl": true
},
"BaseAPIURL": "https://api.refinitiv.com",
"TokenEndpoint": "/auth/oauth2/v1/token",
"ServicesEndpoint": "/streaming/pricing/v1/?transport=websocket",
"WebSocketEndpoint": "/WebSocket",
"View": [ "BID", "ASK", "QUOTIM_NS", "SCALING" ],
"Service": "ELEKTRON_DD",
"ApplicationID": "256",
"Protocol": "tr_json2",
"Streaming": true,
"EnableRegion": "eu-west-1",
"EnableSSLWebSocket": true


JSON sent:

{
"ID": 2,
"Key": {
"Name": [
"EURGPREF=",
"EURTRYREF="
],
"Service": "ELEKTRON_DD"
},
"View": [
"IDB",
"ASK",
"QUOTIM_NS",
"SCALING"
],
"Streaming": true
}


JSON Received:

[
{
"ID": 11,
"Type": "Refresh",
"Key": {
"Service": "ELEKTRON_DD",
"Name": "EURGPREF="
},
"State": {
"Stream": "Open",
"Data": "Ok",
"Text": "***Request Completed"
},
"whats": {
"Timeliness": "Realtime",
"Rate": "JitConflated"
},
"PermData": "AwEBNjw=",
"SeqNumber": 270,
"Fields": {
"IDB": 0.86813
}
},
{
"ID": 31,
"Type": "Refresh",
"Key": {
"Service": "ELEKTRON_DD",
"Name": "EURTRYREF="
},
"State": {
"Stream": "Open",
"Data": "Ok",
"Text": "***Request Completed"
},
"whats": {
"Timeliness": "Realtime",
"Rate": "JitConflated"
},
"PermData": "AwEBNjw=",
"SeqNumber": 270,
"Fields": {
"IDB": 21.3974
}
}
]


As you can see, the connection is correct and it returns data, but we were not able to receive the update when the ECB updates prices.


Any ideas?

Thank you in advance!!

Best Regards


Patricia

Best Answer

  • Jirapongse
    Answer ✓

    @p.perezg

    Thanks for reaching out to us.

    The correct request could be:

    {
        "ID": 2,
        "Key": {
            "Name": [
                "EURGBPREF=",
                "EURTRYREF="
            ],
            "Service": "ELEKTRON_DD"
        },
        "View": [
            "BID",
            "ASK",
            "QUOTIM_NS",
            "SCALING"
        ],
        "Streaming": true
    }

    I checked and found that those RICs don't provide the ASK, QUOTIM_NS, and SCALING fields. You can verify it from the Data Model Discovery tool.

    Moreover, typically those RICs provide few updates per day. I got an update around 13:55 GMT. You need to contact the content support team directly via MyRefinitiv to verify the behavior of those RICs.

    I hope that this information is of help.