Current profit and realized profit

vivek_agg
Hi,

How can I get the current profit (realized and unrealized) and realized profit from the API?
Please suggest.

Thanks
Vivek
  • salim_chisty
    You can fetch P&L for Kite positions. Please refer to the position API documentation for more details.
    You may refer to the similar discussion here.
  • vivek_agg
    I used the positions API to get the net positons. Currently I had 2 trades which were closed with net loss of 1230. In net positions it showed me
    Why is it showing these numbers in unrealised instead of realised as the trades are closed and profit/loss booked.

    I need both the realised PnL (trades closed and Profit/loss booked) and unrealized profit for currently open trades based on ltp.

    Please suggest.

    Regards
    Vivek
  • salim_chisty
    You can refer to this thread for a similar discussion.
Sign In or Register to comment.