question

Upvotes
Accepted
5 1 1 4

how I tick data for an expired ric via TRTH API v2 in java. I attached my request message and server response.

expired-ric.txt

tick-history-rest-api
expired-ric.txt (1.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.

1 Answer

Upvotes
Accepted
23k 22 9 14

Hello @Shyamala.K,

ValidationOptions is the way

In Java:

.put ("IdentifierList", new JSONOrderedObject()  

.put ("@odata.type", "#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.InstrumentIdentifierList")

.put ("InstrumentIdentifiers", jaRICs)

.put("ValidationOptions", new JSONOrderedObject()

.put("AllowHistoricalInstruments", true)  )

.put("UseUserPreferencesForValidationOptions", false)

which should result in request:

"IdentifierList": {  

"@odata.type": "#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.InstrumentIdentifierList",  

"InstrumentIdentifiers": [  

{  

"Identifier": "YOUR_RIC",  

"IdentifierType": "Ric"  

}  

],  

"ValidationOptions": {  

"AllowHistoricalInstruments": true  

},  

"UseUserPreferencesForValidationOptions": false  },

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