Does the .Net API FuturesAndOptionsSearch support multiple id's in the same request?

roroian
roroian Newcomer
Does the .Net API FuturesAndOptionsSearch support multiple id's in the same request?

Best Answer

  • zoya faberov
    zoya faberov ✭✭✭✭✭
    Answer ✓

    Hello @roroian

    DSS request supports single indentifier as a parameter to FuturesAndOptionsSearch.

    One can verify the complete spec on any request via

    Datascope Reqference Tree

    However,

    The identifier can be wildcarted, for example:

    {
    "SearchRequest": {
    "FileCodes": null,
    "CurrencyCodes": null,
    "ExchangeCodes": null,
    "StrikePrice": {
    "@odata.type": "#ThomsonReuters.Dss.Api.Search.NumericRangeComparison",
    "From": 85,
    "To": 88
    },
    "ExpirationDate": {
    "@odata.type": "#ThomsonReuters.Dss.Api.Search.DateValueComparison",
    "ComparisonOperator": "GreaterThanEquals",
    "Value": "2016-12-31T00:00:00.000Z"
    },
    "IdentifierType": "Ric",
    "Identifier": "IB*"
    }
    }

    Would yield resulting rics starting with IB*, such as

    ...
    {
    "Identifier": "IBMM172008500.U",
    ...
    "Identifier": "IBMA172008500.U",
    ...

    If this does not work for your requirements, you may want to look at HistoricalBulkSearch and HistoricalCriteriaSearch, that may be a better fit.