Unable to Place orders for Options Trading , able to place orders for equity


  • PFA the python code

    try:
    orderparams={'exchange': 'NFO',
    'tradingsymbol': 'BANKNIFTY04OCT2344800PE',
    'quantity': 1,
    'transactiontype': 'BUY',
    'ordertype': 'MARKET',
    'variety': 'NORMAL',
    'producttype': 'CARRYFORWARD',
    'price': '300.35',
    'symboltoken': '56687',
    'duration':'DAY'}
    # orderparams = {
    # "variety": "NORMAL",
    # "tradingsymbol": "BANKNIFTY04OCT2344800PE",
    # "symboltoken": "56687",
    # "transactiontype": "BUY",
    # "exchange": "NFO",
    # "ordertype": "LIMIT",
    # "producttype": "INTRADAY",
    # "duration": "DAY",
    # "price": "260",
    # "squareoff": "0",
    # "stoploss": "0",
    # "quantity": "1"
    # }
    orderId=smartApi.placeOrder(orderparams)
    print("The order id is: {}".format(orderId))

    PFA screenshot of the error
    fd4f4244-c054-4c85-aaa1-80bf21c52e2c-image.png