Method of calculation to account for external flows in a portfolio (deposits, withdrawals). It does so by considering internal timeframes and calculating the return in each timeframe, then compounding them together.

Suppose that the portfolio is valued immediately after each external flow. The value of the portfolio at the end of each sub-period is adjusted for the external flow which takes place immediately before. External flows into the portfolio are considered positive, and flows out of the portfolio are negative.

where

 is the time-weighted return of the portfolio,

is the initial portfolio value,

 is the portfolio value at the end of sub-period , immediately after external flow ,

 is the final portfolio value,

is the net external flow into the portfolio which occurs just before the end of sub-period ,

and

is the number of sub-periods.

Source: https://en.wikipedia.org/wiki/Time-weighted_return

#Finance#Metrics