Which position type to use?

gaurav_ch
gaurav_ch edited September 2018 in API clients
Hi,

I want to understand the type of position I need to use in this scenario:

I have BOUGHT 100 shares of INFY using MIS. Now I want to convert that to CNC. Are these parameters correct:


curl --request PUT https://api.kite.trade/portfolio/positions
-H "X-Kite-Version: 3" \
-H "Authorization: token api_key:access_token" \
-d "tradingsymbol=INFY" \
-d "exchange=NSE" \
-d "transaction_type=BUY" \
-d "position_type=day" \
-d "quantity=100" \
-d "old_product=MIS" \
-d "new_product=CNC"

position_type should be day or overnight?
  • sujith
    sujith edited September 2018
    Yes, if it is today's position then the type will be day.
    If it is carry forwarded from the previous day then it is overnight.
Sign In or Register to comment.