Add test for retrieving OHLC data at the minute granularity
This commit is contained in:
parent
87d905c043
commit
c1584ebf82
6
test/get_minute_data.py
Normal file
6
test/get_minute_data.py
Normal file
@ -0,0 +1,6 @@
|
||||
from ohlc import ohlc
|
||||
|
||||
from datetime import datetime
|
||||
|
||||
data = ohlc('SPY', minutes = 5, start_date = datetime(2024, 1, 1), end_date = datetime(2024, 1, 31))
|
||||
print(data)
|
Loading…
Reference in New Issue
Block a user