An option was added to Portfolio Lab backtest to select how dividends should be treated:
- reinvested in the corresponding asset (the previous default setting)
- to cash: the dividends are accrued to the cash position of the portfolio
By default, the dividends are reinvested.