diff --git a/release_version.txt b/release_version.txt index bc8443e..1864002 100644 --- a/release_version.txt +++ b/release_version.txt @@ -1 +1 @@ -0.6.8 \ No newline at end of file +0.6.9 \ No newline at end of file diff --git a/scripts/alpaca_hist_md/run_alpaca_hist_md.sh b/scripts/alpaca_hist_md/run_alpaca_hist_md.sh index f194230..ae3cee8 100755 --- a/scripts/alpaca_hist_md/run_alpaca_hist_md.sh +++ b/scripts/alpaca_hist_md/run_alpaca_hist_md.sh @@ -3,6 +3,7 @@ is_business_day() { dt=${1} + CalendarURL=http://cloud16.cvtt.vpn:8000/api/v1/markets/hours?mic=XNYS open_time=$(curl -s "${CalendarURL}&start=${dt}&end=${dt}" | jq '.[] | .open_time') if [ -n "${open_time}" ]; then return 0