database/query_ohlc_example.py

5 lines
121 B
Python
Raw Normal View History

2023-09-28 16:32:35 +00:00
from database.ohlc import ohlc
from datetime import datetime
data = ohlc('SPY', '5m', datetime(2023, 9, 22))
print(data)