Is there any way to resolve the RIC code based on RIC root for futures via API?

Hi , It seems that to pull the prices via API for any future we have to setup RIC Code per Maturity level and request. Is it possible to somehow just filter with RIC roots and get all futures RIC code resolve automatically? Let's say for NGMM RIC root can we receive the prices for all Futures without setting up individual RIC code per maturity level e.g.

NGMMc2


NGMMc3

---- so on.

Best Answer

  • Jirapongse
    Jirapongse ✭✭✭✭✭
    Answer ✓

    @sudan.pandey

    Thanks for reaching out to us.

    You can try the /Search/FuturesAndOptionsSearch endpoint. The request message looks like this:

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

    You can specify the odata.maxpagesize in the Prefer HTTP header to 500 to get all results without paging.

    1673342124515.png

    The output looks like this:

    1673342291025.png

    For more information regarding the parameters of the /Search/FuturesAndOptionsSearch endpoint, please refer to the REST API Reference Tree.

    I hope this will help.

Answers