Get historical OHLCV bars

Retrieve historical OHLCV (open, high, low, close, volume) bars for a security at specified intervals.