from ohlc import ohlc from datetime import datetime data = ohlc('SPY', start_date = datetime(2024, 1, 1)) print(data)