Adding SPX and corresponding filter options as schwab does not support huge result sets.
This commit is contained in:
@@ -14,16 +14,24 @@ jq -r '.[].Symbol' allSymbols.json | sort | while read theSymbol; do
|
||||
|
||||
if [[ '$XSP' = ${theSymbol} ]]; then
|
||||
./recordOptionChainSingleSymbolSpecialRun.sh ${theSymbol}
|
||||
else
|
||||
./recordOptionChainSingleSymbolSingleRun.sh ${theSymbol}
|
||||
if [[ $? -ne 0 ]]; then
|
||||
touch temp/hadErrors.$$.tmp
|
||||
|
||||
# Working around error in $XSP with special handling
|
||||
# if [[ '$XSP' != ${theSymbol} ]]; then
|
||||
# touch temp/hadErrors.$$.tmp
|
||||
# fi
|
||||
fi
|
||||
continue
|
||||
fi
|
||||
|
||||
if [[ '$SPX' = ${theSymbol} ]]; then
|
||||
./recordOptionChainSingleSymbolSingleRun.sh ${theSymbol} fromDate $(date "+%Y-%m-%d" -d "+40 days") toDate $(date "+%Y-%m-%d" -d "+45 days")
|
||||
if [[ $? -ne 0 ]]; then
|
||||
touch temp/hadErrors.$$.tmp
|
||||
fi
|
||||
continue
|
||||
fi
|
||||
|
||||
|
||||
./recordOptionChainSingleSymbolSingleRun.sh ${theSymbol}
|
||||
if [[ $? -ne 0 ]]; then
|
||||
touch temp/hadErrors.$$.tmp
|
||||
fi
|
||||
done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user