Add test for retrieving OHLC data at the minute granularity

This commit is contained in:
moshferatu 2024-10-19 07:14:06 -07:00
parent 87d905c043
commit c1584ebf82

6
test/get_minute_data.py Normal file
View 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)