From c1584ebf827f564db61d569a14628fabba59d25e Mon Sep 17 00:00:00 2001 From: moshferatu Date: Sat, 19 Oct 2024 07:14:06 -0700 Subject: [PATCH] Add test for retrieving OHLC data at the minute granularity --- test/get_minute_data.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test/get_minute_data.py diff --git a/test/get_minute_data.py b/test/get_minute_data.py new file mode 100644 index 0000000..236a0b8 --- /dev/null +++ b/test/get_minute_data.py @@ -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) \ No newline at end of file