from database.ohlc import ohlc from datetime import datetime data = ohlc('SPY', '5m', datetime(2023, 9, 22)) print(data)