ohlc | ||
test | ||
.gitignore | ||
README.md | ||
setup.py |
OHLC
This module provides Open, High, Low, Close (OHLC) data for trading applications.
The data currently comes from IQFeed, so you will need an account with API access from them.
Dependencies
Usage
All data is returned as a pandas
DataFrame.
Daily Data
from ohlc import ohlc
from datetime import datetime
daily_data = ohlc('SPY', start_date = datetime(2024, 1, 1))