Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • TRTH /
avatar image
Question by dorlovsky · May 15, 2017 at 05:32 PM · TRTHtrthv2

how do you get ric details in api

I can get a Ric of a future or option using Search/HistoricalChainResolution or /Search/FuturesAndOptionsSearch the results have some details like Key, Identifier, Description etc and of course the Ric

If I copy the Ric into the search field in web ui I can get more info, like expiration date.

How do I get that from that API. I tried using Search/ReferenceHistory but got nothing back. For example this body returns nothing:
{ "Request": { "Rics": [ "ESH0^0" ], "Range": { "Start": "1990-01-01T00:00:00.000Z", "End": "2017-05-15T00:00:00.000Z" } } }

People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

3 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by zoya.farberov · May 31, 2017 at 03:04 PM

Hi @dorlovsky,

The answer provided by the content team:

"Clients were directed to use T&Cs as a temporary workaround when Historical Reference template was being built. However, T&Cs merely hold live reference data. It does not hold Historical Reference data. Clients looking for references on Futures and Options (which typically expires every month) and other instruments that expire will get reference data only via. Historical Reference template. For the sake of simplicity, Tick History clients must use the Historical Reference template for reference data on all asset categories (minus fixed income references).
"

For an example, please refer to the following request:

{
  "ExtractionRequest": {
    "@odata.type": "#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.HistoricalReferenceExtractionRequest",
    "ContentFieldNames": [
      "RIC", "CUSIP", "ISIN", "SEDOL", "Issuer OrgID", "Currency Code", "Expiration Date", "Lot Size"
    ],
    "IdentifierList": {
      "@odata.type": "#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.InstrumentIdentifierList",  
      "InstrumentIdentifiers": [{
        "Identifier": "ESH0^0",
        "IdentifierType": "Ric"
      }]
    },
    "Condition": {
      "StartDate": "2007-09-29T00:00:00.000Z",
      "EndDate": "2017-09-29T12:00:00.000Z"
    }
  }
}
Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
REFINITIV
Answer by jirapongse.phuriphanvichai · May 16, 2017 at 12:10 AM

@dorlovsky

I found that the expiration date of ESH0^0 is available via TermsAndConditionsExtractionRequest.

Then, I used on Demand Extraction with this URL to send the request.

POST: https://hosted.datascopeapi.reuters.com/RestApi/V1/Extractions/Extract

The request message is:

{
    "ExtractionRequest": {
        "@odata.type": "#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.TermsAndConditionsExtractionRequest",
        "ContentFieldNames": [
           "RIC", "CUSIP", "ISIN", "SEDOL", "Issuer OrgID", "Currency Code", "Expiration Date", "Lot Size"
        ],
        "IdentifierList": {
            "@odata.type": "#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.InstrumentIdentifierList",
            "InstrumentIdentifiers": [
                {
                    "Identifier": "ESH0^0",
                    "IdentifierType": "Ric"
                }
            ]
        }
    }
}

The response is:

{
  "@odata.context": "https://hosted.datascopeapi.reuters.com/RestApi/v1/$metadata#Collection(ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.ExtractionRow)",
  "value": [
    {
      "IdentifierType": "Ric",
      "Identifier": "ESH0^0",
      "RIC": "ESH0^0",
      "CUSIP": null,
      "ISIN": null,
      "SEDOL": null,
      "Issuer OrgID": null,
      "Currency Code": "USD",
      "Expiration Date": "2000-03-17",
      "Lot Size": 50
    }
  ]
}

For more information, please refer to:

  • REST API Tutorial 7: On Demand T&C extraction
  • DSS Help On Demand Extraction
Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
Answer by dorlovsky · May 16, 2017 at 10:52 AM

this is not at all obvious! how did you know to do that? how would I?

What url are you invoking this on?

The api doc does not show you can show you can do any kind of body at all!
https://hosted.datascopeapi.reuters.com/RestApi.Help/Context/Entity?ctx=Extractions&ent=TermsAndConditionsReportTemplate⪰=Report%20Template%20Examples%20-%20Create%20-%20Terms%20and%20Conditions&stp=1&tab=2

Comment

People who like this

0 Show 2 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
REFINITIV
jirapongse.phuriphanvichai ♦♦ · May 16, 2017 at 10:24 PM 0
Share

I used on Demand Extraction with this URL.

POST: https://hosted.datascopeapi.reuters.com/RestApi/V1/Extractions/Extract.

First, I verified the list of available fields for Term & Conditions and found the "Expiration Date" and "Lot Size" fields in the list.

For more information, please refer to:

  • REST API Tutorial 7: On Demand T&C extraction
  • DSS Help On Demand Extraction
avatar image
REFINITIV
veerapath.rungruengrayubkul ♦♦ · May 17, 2017 at 12:50 AM 0
Share
@dorlovsky

You can also find all available fields for report templates in the "Field Descriptions" tab of the TICK HISTORY DATA DICTIONARY document. The document can be downloaded from this link.

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
11 People are following this question.

Related Questions

​List of files in VBD

Is there a way to distinguish options with multiple expiry date?

Missing TRTH HistoricalChainResolution Constituents for 0#.AORD

time stamp differences between trth v1 and trth v2.

Missing alias underlying ric column in market depth?

  • Feedback
  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Careers
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Calais
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRIT
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • World-Check Data File
  • Explore
  • Tags
  • Questions
  • Badges