fix backtest dryrun sh

This commit is contained in:
zhangkun9038@dingtalk.com 2025-08-14 00:10:14 +08:00
parent 08f5bfb70b
commit 95f9de98ac
5 changed files with 6 additions and 6 deletions

View File

@ -12,7 +12,6 @@
"timeframe": "3m",
"dry_run_wallet": 1000,
"cancel_open_orders_on_exit": true,
"stoploss": -0.05,
"unfilledtimeout": {
"entry": 5,
"exit": 15

View File

@ -64,7 +64,6 @@
},
"use_exit_signal": true,
"exit_profit_only": false,
"stoploss": -0.05,
"stake_currency": "USDT",
"stake_amount": 150,
"max_open_trades": 4,

View File

@ -3,7 +3,7 @@
"params": {
"roi": {},
"stoploss": {
"stoploss": -0.05
"stoploss": -0.14
},
"max_open_trades": {
"max_open_trades": 5
@ -32,4 +32,4 @@
},
"ft_stratparam_v": 1,
"export_time": "2025-07-01 14:51:29.420394+00:00"
}
}

View File

@ -189,6 +189,7 @@ echo "docker-compose run --rm freqtrade backtesting $PAIRS_FLAG \
--logfile /freqtrade/user_data/logs/freqtrade.log \
--freqaimodel LightGBMRegressorMultiTarget \
--config /freqtrade/config_examples/$CONFIG_FILE \
--config /freqtrade/templates/freqaiprimer.json \
--strategy-path /freqtrade/templates \
--strategy $STRATEGY_NAME \
--timerange $START_DATE-$END_DATE \
@ -200,6 +201,7 @@ docker-compose run --rm freqtrade backtesting $PAIRS_FLAG \
--logfile /freqtrade/user_data/logs/freqtrade.log \
--freqaimodel LightGBMRegressorMultiTarget \
--config /freqtrade/config_examples/$CONFIG_FILE \
--config /freqtrade/templates/freqaiprimer.json \
--strategy-path /freqtrade/templates \
--strategy $STRATEGY_NAME \
--timerange $START_DATE-$END_DATE \

View File

@ -77,7 +77,7 @@ echo "docker-compose run -d --rm --name freqtrade-dryrun-${GIT_COMMIT_SHORT} -p
--db-url sqlite:////freqtrade/user_data/tradesv3.sqlite \
--freqaimodel LightGBMRegressorMultiTarget \
--fee 0.0008
--dryun \
--dry-run \
--config /freqtrade/config_examples/$CONFIG_FILE \
--config /freqtrade/templates/${PARAMS_NAME}.json \
--config /freqtrade/config_examples/live.json \
@ -89,7 +89,7 @@ docker-compose run -d --rm --name freqtrade-dryrun-${GIT_COMMIT_SHORT} -p 8080:8
--db-url sqlite:////freqtrade/user_data/tradesv3.sqlite \
--freqaimodel LightGBMRegressorMultiTarget \
--fee 0.0008 \
--dryun \
--dry-run \
--config /freqtrade/config_examples/$CONFIG_FILE \
--config /freqtrade/templates/${PARAMS_NAME}.json \
--config /freqtrade/config_examples/live.json \