Kotak-Neo / kotak-neo-api

100 stars 86 forks source link

Avg price and current price in positions api #57

Closed mshh9 closed 9 months ago

mshh9 commented 10 months ago

Do you have any plans to bring average price of the order and the current price of the scrip in positions like it was previously. I used to calculate the unrealised PnL using the two price values. Is there any way to calculate PnL now? Also what is cfBuyAmt and cfSellAmt

Kotak-Neo commented 9 months ago

@mshh9 Have updated the Positions Documentation and included the calculation logics.