Get unrealized and realized of option position


I have some option trade let's say 40500 ce/pe buy sell multiple times. Now I have to find out the unrealized profit/loss running and the realized profit/loss which is already booked in that. In GetPosition() we see overall MTM(realized and Unrealized) but i need both of them separately.

Is there any way to find this out?

  • sujith
    Positions will only have average price of the position and not the average price of each order. You will have to do it at your end using the average price of each order.

    PS: On Kite Connect, there is not relation between an order and a position. You will have to figure out how to link position and an executed/completed order at your end.
Sign In or Register to comment.