testing
This commit is contained in:
parent
08636b2206
commit
a12d1ebe0a
2
VERSION
2
VERSION
@ -1 +1 @@
|
|||||||
2.2.2,docker prepare sim - eqt - fix
|
2.2.2.T,docker prepare sim - eqt - fix
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user