Error while placing market order


  • 'NoneType' object is not subscriptable

    Sometimes getting the error like this while placing orders. But on trying with same payload, its getting successful in the 3rd or 4th attempt.. My order execution is getting delayed bcoz of this.

    {
    "variety": "NORMAL",
    "tradingsymbol": "ADANIPORTS-EQ",
    "symboltoken": "15083",
    "transactiontype": "SELL",
    "exchange": "NSE",
    "ordertype": "MARKET",
    "producttype": "INTRADAY",
    "duration": "DAY",
    "quantity": 1
    }