Option Order Parameters

Vishesh
Vishesh edited November 2019 in Python client
Can the tech folks please help understand the order params needed to place a buy order for an option?

I have tried placing with variety as "nrml" but it got rejected. (MIS/BO/CO options are blocked for this instrument, try with cnc/nrml . Instrument was NFO:ITC19NOV255PE

kite.place_order(variety="nrml", exchange="NFO", tradingsymbol="ITC19NOV255PE",transaction_type="BUY", quantity="2400", product="nrml",order_type="LIMIT", price="3", trigger_price="?? IS THIS NEEDED", stoploss="IS THIS NEEDED",squareoff="IS THIS NEEDED", trailing_stoploss="IS THIS NEEDED")

or will it be that the following will suffice?

kite.place_order(variety,exchange,tradingsymbol,transaction_type,quantity,product,order_type)

variety="regular"
exchange="NFO"
tradingsymbol="ITC19NOV255PE"
transaction_type="BUY"
quantity="2400"
product="NRML"
order_type="LIMIT"

are there any special params/omissions to be passed while placing a buy order for an option? other than the ones that are supplied for BO/CO for cash & Futures segment?

It would greatly help if you can give a sample kite.place_order( with params for placing a buy order on an option here)
  • rakeshr
    @Vishesh
    I have tried placing with variety as "nrml" but it got rejected. (MIS/BO/CO options are blocked for this instrument, try with cnc/nrml . Instrument was NFO:ITC19NOV255PE
    product will be NRML and variety will be regular.
    You can go through this documentation to get complete order placement params.
  • Vishesh
    Thanks bro!
This discussion has been closed.