Fixing more of the log conversions to exit with errorleve even when logging as warning. Also, hardcode the Price of the 1DTE trade
This commit is contained in:
@@ -37,6 +37,7 @@ if [[ "${symbol}" != "${symbolCheck}" ]]; then
|
||||
throw "${errMsg}" ${ErrorLogLevel} 2
|
||||
else
|
||||
log "${errMsg}" ${ErrorLogLevel}
|
||||
exit 2
|
||||
fi
|
||||
else
|
||||
optionChainFileName=$(date "+%Y-%m-%d %H_%M_%S")_optionChain.${symbol}.json
|
||||
|
||||
Reference in New Issue
Block a user