Add example of intraday data retrieval to OHLC documentation

This commit is contained in:
moshferatu 2024-10-30 00:11:48 -07:00
parent 0ec748a429
commit 9986e55314

View File

@ -22,4 +22,14 @@ from datetime import datetime
daily_data = ohlc('SPY', start_date = datetime(2024, 1, 1)) daily_data = ohlc('SPY', start_date = datetime(2024, 1, 1))
``` ```
### Intraday / Minute Data
```python
from ohlc import ohlc
from datetime import datetime
intraday_data = ohlc('SPY', minutes = 5, start_date = datetime(2024, 1, 1), end_date = datetime(2024, 1, 31))
```
--- ---