diff --git a/README.md b/README.md index fe10201..78d9970 100644 --- a/README.md +++ b/README.md @@ -32,4 +32,12 @@ from datetime import datetime intraday_data = ohlc('SPY', minutes = 5, start_date = datetime(2024, 1, 1), end_date = datetime(2024, 1, 31)) ``` +If neither the start nor end date is provided, data for the current day is returned: + +```python +from ohlc import ohlc + +todays_data = ohlc('SPY', minutes = 5) +``` + --- \ No newline at end of file