question

Upvotes
Accepted
3 0 1 1

I am trying to capture EMA streaming data to JSON. How to do this ?

elektronrefinitiv-realtimeelektron-sdkrrtema-apielektron-message-apidatajson
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
20.3k 73 10 20

Hi @ashwathguru.s

If you want to convert the incoming payload to JSON then you will need to parse / iterate through the payload and convert to JSON yourself - we do not provide JSON conversion helpers with EMA.

Not sure what your implementation requirement is exactly - but if all you want to do is convert streaming data to JSON format then you could consider using our Websocket API instead - this uses JSON messages as the data format and therefore may be more suitable i.e. you send JSON message requests to the server and it responds with a JSON payload.

You will find examples in various programming languages on the Download tab.

Full JSON message format documentation is available here.


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.

Hi, thank you for your input. I am new here. Just want to confirm if the content of the data fetched through EMA and websocket API is the same,is it the same ?

Hi @ashwathguru.s

Assuming you are consuming the data from the same service name on the same server the data should be the same.

A few points worth being aware of:

All realtime data on Elektron Realtime in Cloud is conflated - Full Tick is not supported - regardless of which API is used to consume the data. Essentially the current conflation rate is all trade type events + 3 quotes a second if no trades take place.

If, however, you are consuming data from an internal ADS then the tick rate will be determined by how your Market Data team has configured the particular service you are consuming from - this is independent of the API choice.

Hello @ashwathguru.s

If you are consuming data from an internal ADS, please note that the ADS version must be version 3.2.1 and above.

Upvotes
27 2 4 9

Hi @ashwathguru.s , I am also using EMA and want the output data in JSON format. Were you able to convert your data into JSON ? If yes, then can you share the example code ?

Thanks

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