This commit is contained in:
Oleg Sheynin 2025-05-18 21:17:55 -04:00
parent 08636b2206
commit a12d1ebe0a
2 changed files with 4 additions and 1 deletions

View File

@ -1 +1 @@
2.2.2,docker prepare sim - eqt - fix 2.2.2.T,docker prepare sim - eqt - fix

View File

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