From 6d3490fa4f31adeee87e797a5fa0ceef8bdc1b38 Mon Sep 17 00:00:00 2001 From: moshferatu Date: Mon, 21 Oct 2024 08:24:04 -0700 Subject: [PATCH] Add test for retrieving daily data --- test/get_daily_data.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test/get_daily_data.py diff --git a/test/get_daily_data.py b/test/get_daily_data.py new file mode 100644 index 0000000..60f0a6c --- /dev/null +++ b/test/get_daily_data.py @@ -0,0 +1,6 @@ +from ohlc import ohlc + +from datetime import datetime + +data = ohlc('SPY', start_date = datetime(2024, 1, 1)) +print(data) \ No newline at end of file