Change default duration of XSP recording to 400day, thats consistent with the stitching code.

This commit is contained in:
2024-08-12 15:05:11 -05:00
parent 9526e12abd
commit 082ffbb6e4

View File

@@ -17,7 +17,7 @@ jq -r '.[].Symbol' allSymbols.json | sort | while read theSymbol; do
#fi #fi
if [[ '$XSP' = ${theSymbol} ]]; then if [[ '$XSP' = ${theSymbol} ]]; then
./recordOptionChainSingleSymbolSingleRun.sh ${theSymbol} toDate $(date "+%Y-%m-%d" -d "+200 days") ./recordOptionChainSingleSymbolSingleRun.sh ${theSymbol} toDate $(date "+%Y-%m-%d" -d "+400 days")
if [[ $? -ne 0 ]]; then if [[ $? -ne 0 ]]; then
systemd-cat -t "`basename $0`" -p warning <<< "falling back to stitching for ${theSymbol}" systemd-cat -t "`basename $0`" -p warning <<< "falling back to stitching for ${theSymbol}"
./recordOptionChainSingleSymbolSpecialRun.sh ${theSymbol} toDate $(date "+%Y-%m-%d" -d "+400 days") ./recordOptionChainSingleSymbolSpecialRun.sh ${theSymbol} toDate $(date "+%Y-%m-%d" -d "+400 days")