diff --git a/tools/live.sh b/tools/live.sh index b1e703ff..81597c22 100755 --- a/tools/live.sh +++ b/tools/live.sh @@ -363,8 +363,9 @@ docker run -d --restart=always \ --config /freqtrade/config_examples/$CONFIG_FILE \ --config /freqtrade/templates/${PARAMS_NAME}.json \ --config /freqtrade/config_examples/live_${FREQAI_MODEL}.json \ - --strategy $STRATEGY_NAME \ - RUN_RESULT=$? + --strategy $STRATEGY_NAME + +RUN_RESULT=$? set -e # 恢复 set -e if [ $RUN_RESULT -eq 0 ]; then