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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
25 8 15 18

Record replay with WebSocket API

Hi,

We recently upgraded our TREP infra in order to support WebSocket API, and we would like to use again the record and replay tool.

With RFA API we were using the following command to record :

rmdstestclient -S IDN_RDF -h trrt -p 14002 -ct rssl -u r_msa -ef RIC.lst -rf 8 -obf idn_rdf.dat

And this one to replay :

./sink_driven_src -S IDN_RDF -bdf idn_rdf.dat -U 1 -N 14001 -K -ik

And RIC.lst content :

6|EUR=
6|GBP=
6|JPY=

What to we need to change to be able to record and replay the market data feed from our WebSocketAPI feed ? (host/port : trrt/15000)

I tried to change the -ct option to ws_json but the .dat output file is empty.

Thanks

treprdp-apiwebsocketsrrto
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.

@Henri.GARDON

Hi,

Thank you for your participation in the forum.

Are any of the replies below satisfactory in resolving your query?

If yes please click the 'Accept' text next to the most appropriate reply. This will guide all community members who have a similar question.

Otherwise please post again offering further insight into your 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


Upvotes
Accepted
78.9k 250 52 74

@Henri.GARDON

From my checking, the sink_driven_src or testserver tool doesn't provide an option for WebSocket connection. You may directly contact the Refinitiv Real-Time Distribution System support team via MyRefinitv to confirm it.

However, you can test the WebSocket connection by connecting to Refinitiv Real-Time Advanced Distribution Server.

You can use the same command when testing with RFA to record and replay data. Then configure the Refinitiv Real-Time Distribution System to connect to the sink_driven_src. Finally, run the application to connect to the Refinitiv Real-Time Distribution System that supports WebSocket to consume data from the WebSocket connection.




1617261658883.png (15.3 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 15 18

Actually we managed to record a feed with :

rmdstestclient -S IDN_RDF -h trrt -p 15000 -ct ws_json -u r_msa -ef RIC.lst -rf 8 -obf idn_rdf_websocket.dat

But at the second try.

But for the replay, we are currently blocked.

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.