Can someone help me with coding logic to calculate realised P&L

Hi All,

I am using API to get transactions data.
Can someone help me with coding logic to calculate realised P&L from transactions data?

People on the Kite API Forum might be able to better help you with this query. For starters, you can check these threads -