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 ✭✭✭✭✭
    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