database/query_ohlc_example.py

5 lines
121 B
Python

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