The Positions API is not providing the pnl for the active leg if same instrument is traded twice

vvijay
The Positions API is not providing the pNL for the current active leg separately, in case that is the second or nth trade. This averages the pnl with the earlier trades of the day. Is there a solution for this?
  • sujith
    Hi @vvijay,
    If you place order for same scrip with same product type then new trades are added to same position.
    You can place couple of orders and check on kite for behavior. It is complicated to explain everything here.
Sign In or Register to comment.