Compare commits

..

2 Commits

Author SHA1 Message Date
oleg 9de86bf3e3 progress 2024-03-28 09:53:52 -04:00
oleg 4873af1673 fix 2024-03-26 12:07:54 -04:00
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
0.6.8 0.7.1
+1 -1
View File
@@ -55,7 +55,7 @@ run_proc() {
Cmd="${Python} ${PyScript}" Cmd="${Python} ${PyScript}"
Cmd="${Cmd} --config=${Config}" Cmd="${Cmd} --config=${Config}"
Cmd="${Cmd} --output_dir=${OutputDir}" Cmd="${Cmd} --output_dir=${OutputDir}/${Start:0:4}"
Cmd="${Cmd} --instruments=ALPACA:${Inst}" Cmd="${Cmd} --instruments=ALPACA:${Inst}"
Cmd="${Cmd} --start=${Start}" Cmd="${Cmd} --start=${Start}"
if [ "${End}" != "" ]; then if [ "${End}" != "" ]; then
@@ -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