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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
27 8 15 19

RFA API via WebSocket API : Dates format

Hello,

We recently implemented a connector compatible with the WebSocket API.
We noticed a difference with the RFA API.

Date values are no more under Eikon format : DD MON YYYY
But there are now under ISO 8601 (as said in the doc) : YYYY-MM-DD

Is there a way to transform them to Eikon format via the WebSocket API ?

Thanks !

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

Upvote
Accepted
25.7k 58 17 14

Hello @Henri.GARDON

The data format between the RSSL connection (used by the RFA API) and the WebSocket connection is different.

The RSSL Connection data is in a binary format (RWF). The RFA API just displays default date data (OMMDate) in the "DD-MMM-YYYY" format for the application. The application can convert or pase the date data to other Date formats based on the application requirements.

rfa-rssl-ommdate.png

The WebSocket connection data is in JSON string format. The server side (RTDS/RTO) converts date data and sends it to the application in the "YYYY-MM-DD" format based on the ISO 8601 format. The application can convert it to other Date formats based on the application requirements too.

ws-json-date.png

Please see more detail regarding the WebSocket API specification from the following resources:


ws-json-date.png (96.8 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 8 15 19

Hello Wasin,
Thank you for the prompt and detailed answer !

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.