Best Template for Option/Futures reference data

richter
richter Newcomer

Hi,

I am dealing with reference data for options and futures and wanted to know, which template is the preferred one to use:

- HistoricalReferenceExtractionRequest

- TermsAndConditionsExtractionRequest

Both are covering fields I am interested in, like Expiration
Date - Strike Price - Put Call Flag. This is a daily job, that requests the current data, no historical instruments.

I assume the data should be the same on both templates.

-----

So far I was only able to request data using the HistoricalReferenceExtractionRequest template.

If anyone has an example how I can for example request this reference data for the 0#SPXW*.U Chain RIC I would be very glad - I did not found any tutorial covering this asset class in the TermsAndConditionsExtractionRequest.

Kind regards,

Max

Best Answer

  • Hi @richter

    The HistoricalReference provides historical reference data for a specified date range, while the TermsAndConditions provides current reference data. As you want to request current data, the TermsAndConditions should be more preferable. You can find tutorial for TermsAndConditionsExtractionRequest in User Guide for TickHistory 12.1 REST API or tutorial of DataScope Select.

    Below is the sample of request.

    {
    "ExtractionRequest": {
    "@odata.type": "#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.TermsAndConditionsExtractionRequest",
    "ContentFieldNames": [
    "RIC", "Expiration Date","Strike Price", "Put Call Flag"
    ],
    "IdentifierList": {
    "@odata.type": "#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.InstrumentIdentifierList",
    "InstrumentIdentifiers": [
    { "Identifier": "0#SPXW*.U", "IdentifierType": "ChainRIC" }
    ]
    }
    }
    }

    If you still are not able to request data using TermsAndConditionsExtractionRequest, please share your request and response.

Answers