Add example of intraday data retrieval to OHLC documentation
This commit is contained in:
parent
0ec748a429
commit
9986e55314
10
README.md
10
README.md
@ -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))
|
||||||
|
```
|
||||||
|
|
||||||
---
|
---
|
Loading…
Reference in New Issue
Block a user