dryrun.sh live.sh restart = always
This commit is contained in:
parent
c487d6c965
commit
0592aff621
@ -7,7 +7,6 @@
|
||||
"password": "c^-d:g;P2S9?Q#^",
|
||||
"enable_ws": false,
|
||||
"ccxt_config": {
|
||||
"enableRateLimit": true,
|
||||
"rateLimit": 500,
|
||||
"options": {
|
||||
"defaultType": "spot"
|
||||
|
||||
@ -253,6 +253,7 @@ echo "正在启动新容器..." >&2
|
||||
# 临时禁用 set -e,以便捕获 docker run 的错误
|
||||
set +e
|
||||
docker run -d --rm \
|
||||
--restart always \
|
||||
--name "${CONTAINER_NAME}" \
|
||||
-p 8080:8080 \
|
||||
--add-host "www.okx.com:104.18.43.174" \
|
||||
|
||||
@ -477,6 +477,7 @@ echo "docker-compose run --rm freqtrade hyperopt $PAIRS_FLAG \
|
||||
--freqaimodel LightGBMRegressorMultiTarget \
|
||||
--strategy $STRATEGY_CLASS_NAME \
|
||||
--config /freqtrade/config_examples/$CONFIG_FILE \
|
||||
--config /freqtrade/config_examples/hyperopt.json \
|
||||
--config /freqtrade/templates/${PARAMS_NAME}.json \
|
||||
--enable-protections \
|
||||
--strategy-path /freqtrade/templates \
|
||||
@ -489,6 +490,7 @@ echo "docker-compose run --rm freqtrade hyperopt $PAIRS_FLAG \
|
||||
--fee 0.001"
|
||||
|
||||
docker-compose run --rm freqtrade hyperopt $PAIRS_FLAG \
|
||||
--restart always \
|
||||
--logfile /freqtrade/user_data/logs/freqtrade.log \
|
||||
--freqaimodel LightGBMRegressorMultiTarget \
|
||||
--strategy $STRATEGY_CLASS_NAME \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user