How is PnL calculated in Streak backtest

Please share how streak calculates Profit/Loss percentage that is visible in the PnL of backtest @Streak

P&L percent(%) is calculated by this formula:-
(Backtest P&L/ (Entry price in the first trade *qty) ) * 100

For example, if you have a total P&L of 4000 INR and the entry in the first trade was at the price of 500INR with 500 quantities. In this case, the P&L percentage will be equal to -
(P&L / (Entry price in the first trade qty) ) * 100 = (4000/(500100) )*100 = 8%.

1 Like