question

Upvotes
3 0 0 1

PRCTCK_1 field not delivering data using Websocket API

Hi,

I have a customer using Websocket API to retrieve real time data from RTDS infrastructure.

1729502311759.png

Apparently everything is working as expected, but field PRCTCK_1 is also being requested but not delivered.

As this is the up/down signal, should the request of this field being managed in a specific way, or any limitation related with Websocket API?

Thanks in advance.

Best Regards,

Alfredo

refinitiv-realtimewebsockets
1729502311759.png (142.1 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
87.1k 294 53 79

@alfredo.brito01

Thank you for reaching out to us.

I tested it on Postman and found that Postman can display the PRCTCK_1 field properly.

1729505504371.png

The hex value is "E2 87 A9" which is a down arrow in UTF8.

1729505531235.png



1729505504371.png (22.9 KiB)
1729505531235.png (25.4 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
27.8k 67 18 14

Hello @alfredo.brito01

I did a quick test with various RICs and the results are different.

  • The FX RIC like JPY=, EUR= does not have the PRCTCK_1 field data
  • The .L RICs like LSEG.L, VOD.L have the PRCTCK_1 field data

Example Data:

RECEIVED: 
[
  {
    "Fields":{
      "52WK_HIGH":79.5,
      "52WK_LOW":62.59,
      "52W_HDAT":"2024-09-17",
      ...
      "PRCTCK_1":"\u21e7",

This "\u21e7" value represents "Upwards White Arrow" Unicode character (see Unicode Character “⇧” (U+21E7)). Then the client needs to write an application to display this "\u21e7" as an upwards arrow.

Please be informed that the WebSocket API is the server-side API. I strongly suggest you contact the Real-Time content team to verify if the RICs requested by the client has this PRCTCK_1 field data. You can contact the team via https://myaccount.lseg.com/en/productsupport website.

1729506031700.png



1729506031700.png (28.0 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
3 0 0 1

Hi,

The situation is now slightly different, because the field PRCTCK_1 is being delivered but the content is "???" and not the unicode.

This test was done with RIC EDP.LS that has this field PRCTCK_1 available.

Please see below the request and the response.

{

"TRDPRC_1": 3.764,

"NETCHNG_1": 0.018,

"HIGH_1": 3.774,

"LOW_1": 3.724,

"PRCTCK_1": "???",

"TRADE_DATE": "2024-10-25",

"TRDTIM_1": "09:26:44",

"OPEN_PRC": 3.727,

"HST_CLOSE": 3.746,

"BID": 3.762,

"ASK": 3.765,

"BIDSIZE": 6295,

"ACVOL_1": 501157,

"PCTCHNG": 0.48,

"CLOSE_BID": 3.732,

"CLOSE_ASK": 3.746,

"YRHIGH": 4.64,

"YRLOW": 3.45,

"TURNOVER": 1878434,

"TRDVOL_1": 1300,

"YRHIGHDAT": "2023-12-14",

"YRLOWDAT": "2024-04-09",

"SALTIM": "09:26:44",

"YR_PCTCH": -17.76,

"EPYR_PCTCH": -2.17

}

Do you have an explanation to this behavior and what should be checked to transform the "???" in related Unicode content?

Thanks in advance.

Best Regards

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
24.8k 64 15 21

Hello @alfredo.brito01,

The ??? that you see in the display is most likely because your application is unable to process/display the unicode characters. Please ask the customer to use one of the example applications on a console prompt and check the output.

Python example.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.