ohlc/test/get_minute_data.py

6 lines
166 B
Python
Raw Normal View History

from ohlc import ohlc
from datetime import datetime
data = ohlc('SPY', minutes = 5, start_date = datetime(2024, 1, 1), end_date = datetime(2024, 1, 31))
print(data)