Can we pass multiple RIC roots while searching for Futures and Commodity Search.

For searching RIC codes using KeywordQuery,

@{ "SearchRequest": { "KeywordQuery": "PROCNWEM","ExpirationDate": { "@odata.type": "#DataScope.Select.Api.Search.DateValueComparison","ComparisonOperator": "LessThanEquals","Value": "2026-12-31T12:00:00.000" },"PreferredIdentifierType": "Ric","AssetStatus": "Active" } }

this gives data for PROCNWEM. is there a way we can pass multiple roots in one go e.g.

PROCNWEM,TFMBM as such?


Best Answer

  • Jirapongse
    Jirapongse ✭✭✭✭✭
    Answer ✓

    @sudan.pandey

    Thanks for reaching out to us.

    I tested and found that the "Identifier" property supports multiple instruments. For example, the following is a request message for the Search/FuturesAndOptionsSearch endpoint.

    {
        "SearchRequest": {
            "FileCodes": null,
            "CurrencyCodes": null,
            "ExchangeCodes": null,
            "StrikePrice": null,
            "ExpirationDate": null,
            "IdentifierType": "RICRoot",
            "Identifier": "NGMM,ADCB,1BGI",
            "PreferredIdentifierType": "Ric",
            "AssetStatus": "Active"
        }
    }

    However, the "KeywordQuery" property doesn't support multiple keywords.

    I hope that this information is of help.

Answers

  • https://community.developers.refinitiv.com/discussion/comment/102338#Comment_102338
    Thank you for the answer.

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.