ohlc/test/get_daily_data.py

6 lines
119 B
Python
Raw Normal View History

2024-10-21 15:24:04 +00:00
from ohlc import ohlc
from datetime import datetime
data = ohlc('SPY', start_date = datetime(2024, 1, 1))
print(data)