Error placing options order

jennings
A piece of code I use successfully to place NIFTY options order is bombing while trying to place equity option orders. Any ideas?

Payload:
{'tradingsymbol': 'BRITANNIA21MAY3400PE', 'exchange': 'NFO', 'transaction_type': 'BUY', 'order_type': 'MARKET', 'quantity': 200, 'product': 'NRML', 'validity': 'DAY', 'tag': 'stockviz'}

400 Client Error: Bad Request for url: https://api.kite.trade/orders/regular
  • sujith
    sujith edited May 2021
    @jennings,
    MARKET order is not allowed for stock options. You need to place LIMIT order at LTP.
    You can always read the exception.message to know the correct reason.
Sign In or Register to comment.