Historical data records past asset prices and dividends so a portfolio backtester can replay daily valuation, income, and rebalancing decisions. section 13.4.2
For this use, retrieve split-adjusted Close prices rather than Adjusted Close prices. Keep dividends separate because they arrive as cash instead of being automatically reinvested. section 13.4.2
Historical data in a daily backtest
A Backtest iterates over each price date, marks holdings to current prices, adds dividend income, evaluates target weights, and applies rebalancing trades. The resulting portfolio history can compare strategies under the same market data. section 13.5

