NoneType Error while placing NFO and MCX order


  • Hello, I am using Python SDK for placing orders, However, all the equity orders are working, but I am getting a NoneType error while placing NFO and MCX orders. Please find below parameters I am using to place the order.

    orderparams = {
    "variety": "NORMAL",
    "tradingsymbol":"BANKNIFTY25MAY23FUT",
    "symboltoken": "36185",
    "transactiontype": "BUY",
    "exchange": "NFO",
    "ordertype": "MARKET",
    "producttype": "INTRADAY",
    "duration":"DAY",
    "price":"0",
    "squareoff":"0",
    "stoploss":"0",
    "quantity": "1",
    }