question

Upvotes
Accepted
22 7 9 11

TREP API - Custom fields Request

Hello,

Could somebody please help me with example of how to request some particular fields (E.g., ASK_PRICE, BID_PRICE, TRADE_DATE) for RicCodes IBM.N, MSFT.ITC and TRI.N via the API.

Also, I don't want to load enumtype.def and RDMFieldDictionary from local file.

Thanks

treprfarfa-apirequest
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
9.5k 10 5 7

Hello @josa

You can use Dynamic View feature to request some particular fields by specifying set of interested fields in a request. After subscribing the request, you will receive a response message that contains only those entries defined by the request. Please refer to RFA Java Developers Guide(RFAJ_DeveloperGuide.pdf) section “13.3.2.1 Creating Request Message With View” to create a request message specifying particular fields. The example application using dynamic view is in <RFAJ Package>\Examples\com\reuters\rfa\example\omm\batchviewcons

However, ADS must have installed the required license (the SNAP_AND_DYNAMIC_VIEW license key) to enable the feature as well. Otherwise, the application will get an error. You should contact Account team, Andrew Forman(andrew.forman@thomsonreuters.com) who should be able assist you to obtain the license.

If you do not want to load enumtype.def and RDMFieldDictionary from local file, you can request them from the server. Please refer to section “12.2.3.3 Requesting Dictionary” in RFA Java Developers Guide. RFAJ package also provide an example application named DictionaryDemo which demonstrates how to download dictionaries from the server. It is in <RFAJ Package>\Examples\com\reuters\rfa\example\omm\dictionary

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
22 7 9 11

Thanks @Pimchaya.Wongrukun. Will check and get back if am having any problems.

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