Crude oil Order Error message: Instrument is invalid

DR1967
Dear Team
I am placing an order via Kite API for Crude Oil.
I use the usual place_order method (similar to NFO and NSE)
But for MCX, it is giving Instrument is invalid error
I use this symbol: CRUDEOIL22MARFUT

However, when I use for Bank nifty, the system is BANKNIFTY22MARFUT - This works fine.
Tagged:
  • SRIJAN
    Check if you are passing exchange as 'MCX' and not 'NSE' or 'NFO.
  • DR1967
    Yes right. I am passing MCX in quotes
    kite.EXCHANGE_MCX is not working though.
    However for NFO & NSE
    kite.EXCHANGE_NFO & kite.EXCHANGE_NSE works fine.
  • DR1967
    I have changed from kite.EXCHANGE_MCX to plain "MCX" it started working, in the place_order method
Sign In or Register to comment.