question

Upvotes
Accepted
5 1 2 5

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 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
Upvotes
Accepted
32.2k 40 11 19

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