question

Upvotes
Accepted
43 3 4 4

Field based subscription with RFA 8

Hi, we are using Java RFA 8 to read market data from TREP server. We are using OMM interface.

We would like to subscribe for an initial snapshot and updates for limited sets of FIDs.

An example program called ItemManager.java is available with RFA8 API but that example code receives update for all the FIDs for a give RDMInstrument RIC as per my observations.

Is there any example that can explain how to subscribe and get update only for limited set of FID say BID and ASK ?

Or otherwise can you provide sample code as reply to this query.

treprfarfa-apifields
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.

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query? If yes please click the 'Accept' text next to the reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question. Thanks, AHS

Upvotes
Accepted
426 2 4 4

Hi @ramesh.jitkar

You can implement the "view" filter as described in section 3.2.4 of RFAJ developer Guide

The example StarterConsumer_BatchView.java can be found in the RFAJ example folder. Please keep in mind that the ADS you are connecting to needs premium license to implement the Batch and View features. Please check with your Market data team or Thomson Reuters engineer to confirm your ADS license status.

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.

Thanks for your reply, This example worked for me. However I was able to receive Level1 BID, ASK etc. How can I receive Level 2 data also like BEST_BID1(436), BEST_BID2(437), etc. Are these FIDs treated differently by API?

Is there any another example to subscribe Level 2 data that I can refer?

Upvotes
18.2k 21 13 21

Hi @ramesh.jitkar

If your ADS does not have premium license, your view request would be treated as a normal subscription. So your code should be able to handle in case all the available fields are returned.

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.