Configure and use historical data