paramatrixtech / ksapi

Kotak Securities Trading APIs Integration

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

clarification on place order

keerthankumar opened this issue · comments

Hi Please clarity few questions related to place order -

client.place_order(order_type = "N", instrument_token = 727, transaction_type = "BUY", quantity = 1, price = 0, \
               disclosed_quantity = 0, trigger_price = 0, tag = "string", validity = "GFD", variety = "REGULAR" \ 
               product = "NORMAL" ,smart_order_routing="string")
  1. In order_type, what is the difference between O(Order), N(NormalOrder) ?
  2. what is product ?
    product | str | Product type for this order - NORMAL, SUPERMULTIPLE, SUPERMULTIPLEOPTION, MTF
  3. for CASH or OPTIONS apart from the instrument_token is there any difference in terms of parameters?

Order is an overarching type, it doesnt hold any relevance, you can use normal or mis instead. You may neglect the product variable. I'd recommend using the sample code on the readme as a reference for the order API parameters.
as for the last question, no. The instrument token is the only defining parameter for the segment.