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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
25 8 14 18

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.

Hello @Henri.GARDON

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?


If so please can you click the 'Accept' text next to the appropriate reply? This will guide all community members who have a similar question.

Thanks,


AHS

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,


AHS


Upvote
Accepted
24.6k 54 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
25 8 14 18

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.