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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
17 3 5 9

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

Upvotes
Accepted
38.1k 71 35 53

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

Upvotes
17 3 5 9

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

Click below to post an Idea Post Idea