This commit is contained in:
Oleg Sheynin 2024-03-26 12:07:54 -04:00
parent c2dae20d7b
commit 4873af1673
2 changed files with 2 additions and 1 deletions

View File

@ -1 +1 @@
0.6.8 0.6.9

View File

@ -3,6 +3,7 @@
is_business_day() { is_business_day() {
dt=${1} 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') open_time=$(curl -s "${CalendarURL}&start=${dt}&end=${dt}" | jq '.[] | .open_time')
if [ -n "${open_time}" ]; then if [ -n "${open_time}" ]; then
return 0 return 0