For a deeper look into our Elektron API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
38 1 1 7

Message received contains unexpected values for some fields.

some messages received from Refinitiv Real Time Optimized Websocket API have unexpected values for some fields.

Example:

"DSPLY_NMLL": "\u001b[0` \u001b[31b",

"CTBTR_1LL": "\u001b[0`<CALCS_EXPLAINED>\u001b[17` \u001b[4b"

What is this means and how can I decode this?


Thanks,

websocketsrrtorefinitiv-realtime-optimisedmessages
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.

1 Answer

· Write an Answer
Upvote
Accepted
78.8k 250 52 74

@thomas.abraham

It is a partial field update, as mentioned in this How to retrieve page-based data using Refinitiv Tick History REST API article.

For exmple: "\u001b[0` \u001b[31b"

"\u001b[0`" represents an intra-field positioning sequence.

  • "\u001b[" = <CSI>
  • "0" = an ASCII numeric string representing the cursor offset position
  • "` = <HPA>

" \u001b[31b" represents a character repetition.

  • " " = the character to be repeated (a white space)
  • "001b[" = <CSI>
  • "31" = an ASCII numeric string representing the number of times to repeat the character
  • "b" = <REP>

You need to apply these partial field updates to the previously retrieved data of those fields.


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.

Thank you @jirapongse.phuriphanvichai for your response

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.