question

Upvotes
Accepted
2 1 1 5

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?


#technologyapiricssearchcommodities
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
Upvote
Accepted
87.5k 294 53 79

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

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.

Thank you for the answer.

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.