Is Expired F&O data for MCX available with Plus subscription or only available for NSE?
If available, how do I get the instrument key?
I am trying to get expired instrument key for GOLD futures of nearest expiry but none of these work:
response = apiInstance.get_expired_future_contracts(“MCX_FO|GOLD”, “2026-02-05”)
response = apiInstance.get_expired_future_contracts(“MCX_COM|GOLD”, “2026-02-05”)
response = apiInstance.get_expired_future_contracts(“MCX_COM|114”, “2026-02-05”)
etc
I keep getting the error “Invalid Instrument key”
same problem when calling get_expiries
response = apiInstance.get_expiries(“MCX_FO|GOLD”)
response = apiInstance.get_expiries(“MCX_COM|GOLD”)
response = apiInstance.get_expiries(“MCX_COM|114”)
all have the same error “Invalid Instrument key”