Intraday Net PnL in backtester
pp794378
Posts: 19
How is it calculated? Using last trades, bid/ask, or minute bars?
How is it calculated? Using last trades, bid/ask, or minute bars?
Comments
Where are you looking?
PnL is calculated depending on the direction of the trade.
As long as the trade is in progress the PnL reported will be the entry vs ask for Long and entry vs bid for short.
Once you exit it will be entry price vs exit price.
If you are referring to this little chart on the daily results table...
That is a fifteen minute snapshot of the PnL, it does appear closer to the entry vs the last.
I am not sure exactly how or when it is calculated, that would require the developers taking a look at the source code.
Yes, exactly this chart. I find it very useful to analyze intraday drawdowns and such, but not sure if it is calculated with bid/ask or some last/close of the bar. Hence the question.