testing
This commit is contained in:
@@ -20,7 +20,10 @@ is_business_day() {
|
||||
|
||||
CalendarURL=https://trading-calendar.cvtt.net/api/v1/markets/hours?mic=XNYS
|
||||
URL="${CalendarURL}&start=${date}&end=${date}"
|
||||
echo "URL=${URL}"
|
||||
open_time=$(curl -s "${URL}" | jq '.[] | .open_time')
|
||||
echo "open_time=${open_time}"
|
||||
|
||||
if [ -n "${open_time}" ]; then
|
||||
return 0
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user