- ago
When running long-term compounded backtests (% of Equity sizing over 10-15+ years), I noticed that the PowerPack Contribution visualizer sums raw dollar P/L (along with Average % P/L per bar). Because the account size grows dramatically over time, a single late-stage losing trade (say in 2026) shows a huge negative dollar figure that outweighs much larger percentage winners from earlier years (like 2020) -- making a winning symbol or entry signal look like a net loser in dollar terms even when its compounded % contribution to portfolio equity was strongly positive.
My question: Is there already a built-in setting, metric dropdown, or visualizer (in Contribution, By Symbol, or Position Metrics) that shows Compounded Trade Return % or Compounded Portfolio Equity Impact % grouped by Entry Signal or Symbol -- without having to switch off % of Equity sizing or write custom BacktestComplete() code?
Specifically, something equivalent to:
Compounded Return %: [ Product of (1 + ProfitPercent / 100) across each trade - 1 ] * 100
Portfolio Equity Impact %: [ Product of (1 + Profit / EquityAtEntry) across each trade - 1 ] * 100
If there is already a way to see this in WealthLab, I would appreciate a pointer! And if this is not currently available, please consider adding it as a metric option in the Contribution visualizer -- it would make multi-decade % Equity attribution much easier to read.
Thanks!
0
68
Solved
2 Replies

Reply

Bookmark

Jump to End
Cone8
- ago
#1
Consider it done. Should be a pretty quick add/modification.

I have to admit hardly ever using it, but after looking into it some things I noticed about how this visualizer works:

Positive / Negative
If the backtest is profitable, you only see the items that had a positive result. Likewise, for an unprofitable backtest, you see only the negative results. Would it be useful to also show the inverse?

With or without NSF
Contribution visualizer results currently consider all backtest positions, even the NSFs that were not included in the backtest. I think that's desirable, but it could be confusing when attempting to reconcile the backtest results.
0
Best Answer
Cone8
- ago
#2
Lightbulb event:
A pie chart always adds up to 100%, and, negative returns can't be shown.

If you're looking for the actual compounded return %, we can't use a pie chart, which would only show each [profitable] symbol's percentage of the total compounded result. In that case, maybe the BySymbol viewer is the right place for those values.
0

Reply

Bookmark

Jump to Top