ohlc/test/get_daily_data.py

6 lines
119 B
Python

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