Option Chain From MCX Future: MCGBN0

Hi,

I'm using the Eikon Data API and I'm not being able to pull the option chain data related to a specific future via ek.get_data. Have attached the screenshot of the chain. The future RIC : MCGBN0. If you could provide the exact command.image

Thanks

Best Answer

  • Jirapongse
    Jirapongse admin
    Answer ✓

    @jagjit.singh

    Please try '0#MCGB+' representing Multi Commodity Exchange Of India Crude Oil Energy Option Chain Contracts.

    df, e = ek.get_data('0#MCGB+',['PRCTCK_1','PCTCHNG','TRDPRC_1','BID','ASK','PUTCALLIND','EXPIR_DATE','STRIKE_PRC'])
    df.dropna()

    The output is:

    image

Answers

  • Hi @jagjit.singh

    I am assuming that you are trying to expand "MCGBN0" chain RIC?

    The "MCGBN0" is not a chain RIC.

    Maybe you can try "0#MCGBN0" ? (I do not have access to it so I could not check).

    image

  • For delayed RICs (prefixed with a slash '/'), you can use '0#/MCGB+' instead.