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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
17 3 5 9

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 5.0 MiB each and 10.0 MiB total.

Upvote
Accepted
11.5k 16 7 10

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 5.0 MiB each and 10.0 MiB total.

Upvotes
17 3 5 9

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 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea