various smaller maintenance changes
This commit is contained in:
@@ -4,6 +4,11 @@ IFS=$'\0'
|
||||
|
||||
. helpers.sh
|
||||
|
||||
marketOpen=$([[ $(./getMarketHours.sh | jq '.option[].isOpen' | grep true | wc -l) -ne 0 ]] && echo true || echo false)
|
||||
if [[ ${marketOpen} == false ]]; then
|
||||
throw "The market is closed, exiting." info 2
|
||||
fi
|
||||
|
||||
daysOutMin=87
|
||||
daysOutMax=91
|
||||
deltaMin=0.35
|
||||
|
||||
Reference in New Issue
Block a user