hyperopt optimal

This commit is contained in:
zhangkun9038@dingtalk.com 2025-06-04 21:37:25 +08:00
parent a218fb66f3
commit d099c278ed
3 changed files with 11 additions and 11 deletions

View File

@ -16,21 +16,21 @@
},
"protection": {},
"roi": {
"0": 0.053,
"24": 0.027999999999999997,
"38": 0.013,
"49": 0
"0": 0.099,
"9": 0.015,
"36": 0.008,
"108": 0
},
"stoploss": {
"stoploss": -0.043
"stoploss": -0.345
},
"trailing": {
"trailing_stop": true,
"trailing_stop_positive": 0.233,
"trailing_stop_positive_offset": 0.30300000000000005,
"trailing_stop_positive": 0.159,
"trailing_stop_positive_offset": 0.20900000000000002,
"trailing_only_offset_is_reached": false
}
},
"ft_stratparam_v": 1,
"export_time": "2025-06-04 04:42:29.613838+00:00"
"export_time": "2025-06-04 13:35:45.484167+00:00"
}

View File

@ -78,7 +78,7 @@ if [[ -z "$pairs" ]]; then
fi
if [[ -z "$timeframe" ]]; then
timeframe="5m,15m,30m,1h,4h,6h,12h,1d"
timeframe="3m,5m,15m,30m,1h,4h,6h,12h,1d"
fi
# Convert timeframe string to array

View File

@ -53,8 +53,8 @@ docker-compose run --rm freqtrade hyperopt \
--config /freqtrade/templates/${PARAMS_NAME}.json \
--strategy-path /freqtrade/templates \
--timerange ${START_DATE}-${END_DATE} \
-e 100 \
--hyperopt-loss ShortTradeDurHyperOptLoss \
-e 200 \
--hyperopt-loss SharpeHyperOptLoss \
--spaces roi stoploss trailing \
--fee 0.0016