mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Don't use Sum sign in hyperopt to avoid compatibility problems
This commit is contained in:
parent
1cb430f59b
commit
3014bc3467
|
@ -289,7 +289,7 @@ Given the following result from hyperopt:
|
||||||
```
|
```
|
||||||
Best result:
|
Best result:
|
||||||
|
|
||||||
44/100: 135 trades. Avg profit 0.57%. Total profit 0.03871918 BTC (0.7722Σ%). Avg duration 180.4 mins. Objective: 1.94367
|
44/100: 135 trades. Avg profit 0.57%. Total profit 0.03871918 BTC (0.7722%). Avg duration 180.4 mins. Objective: 1.94367
|
||||||
|
|
||||||
Buy hyperspace params:
|
Buy hyperspace params:
|
||||||
{ 'adx-value': 44,
|
{ 'adx-value': 44,
|
||||||
|
|
|
@ -486,7 +486,7 @@ Given the following result from hyperopt:
|
||||||
```
|
```
|
||||||
Best result:
|
Best result:
|
||||||
|
|
||||||
44/100: 135 trades. Avg profit 0.57%. Total profit 0.03871918 BTC (0.7722Σ%). Avg duration 180.4 mins. Objective: 1.94367
|
44/100: 135 trades. Avg profit 0.57%. Total profit 0.03871918 BTC (0.7722%). Avg duration 180.4 mins. Objective: 1.94367
|
||||||
|
|
||||||
# Buy hyperspace params:
|
# Buy hyperspace params:
|
||||||
buy_params = {
|
buy_params = {
|
||||||
|
@ -527,7 +527,7 @@ If you are optimizing ROI (i.e. if optimization search-space contains 'all', 'de
|
||||||
```
|
```
|
||||||
Best result:
|
Best result:
|
||||||
|
|
||||||
44/100: 135 trades. Avg profit 0.57%. Total profit 0.03871918 BTC (0.7722Σ%). Avg duration 180.4 mins. Objective: 1.94367
|
44/100: 135 trades. Avg profit 0.57%. Total profit 0.03871918 BTC (0.7722%). Avg duration 180.4 mins. Objective: 1.94367
|
||||||
|
|
||||||
# ROI table:
|
# ROI table:
|
||||||
minimal_roi = {
|
minimal_roi = {
|
||||||
|
@ -582,7 +582,7 @@ If you are optimizing stoploss values (i.e. if optimization search-space contain
|
||||||
```
|
```
|
||||||
Best result:
|
Best result:
|
||||||
|
|
||||||
44/100: 135 trades. Avg profit 0.57%. Total profit 0.03871918 BTC (0.7722Σ%). Avg duration 180.4 mins. Objective: 1.94367
|
44/100: 135 trades. Avg profit 0.57%. Total profit 0.03871918 BTC (0.7722%). Avg duration 180.4 mins. Objective: 1.94367
|
||||||
|
|
||||||
# Buy hyperspace params:
|
# Buy hyperspace params:
|
||||||
buy_params = {
|
buy_params = {
|
||||||
|
@ -624,7 +624,7 @@ If you are optimizing trailing stop values (i.e. if optimization search-space co
|
||||||
```
|
```
|
||||||
Best result:
|
Best result:
|
||||||
|
|
||||||
45/100: 606 trades. Avg profit 1.04%. Total profit 0.31555614 BTC ( 630.48Σ%). Avg duration 150.3 mins. Objective: -1.10161
|
45/100: 606 trades. Avg profit 1.04%. Total profit 0.31555614 BTC ( 630.48%). Avg duration 150.3 mins. Objective: -1.10161
|
||||||
|
|
||||||
# Trailing stop:
|
# Trailing stop:
|
||||||
trailing_stop = True
|
trailing_stop = True
|
||||||
|
|
|
@ -351,7 +351,7 @@ class Hyperopt:
|
||||||
f"Avg profit {results_metrics['avg_profit']: 6.2f}%. "
|
f"Avg profit {results_metrics['avg_profit']: 6.2f}%. "
|
||||||
f"Median profit {results_metrics['median_profit']: 6.2f}%. "
|
f"Median profit {results_metrics['median_profit']: 6.2f}%. "
|
||||||
f"Total profit {results_metrics['total_profit']: 11.8f} {stake_cur} "
|
f"Total profit {results_metrics['total_profit']: 11.8f} {stake_cur} "
|
||||||
f"({results_metrics['profit']: 7.2f}\N{GREEK CAPITAL LETTER SIGMA}%). "
|
f"({results_metrics['profit']: 7.2f}%). "
|
||||||
f"Avg duration {results_metrics['duration']:5.1f} min."
|
f"Avg duration {results_metrics['duration']:5.1f} min."
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -628,7 +628,7 @@ def test_generate_optimizer(mocker, hyperopt_conf) -> None:
|
||||||
'loss': 1.9840569076926293,
|
'loss': 1.9840569076926293,
|
||||||
'results_explanation': (' 1 trades. 1/0/0 Wins/Draws/Losses. '
|
'results_explanation': (' 1 trades. 1/0/0 Wins/Draws/Losses. '
|
||||||
'Avg profit 2.31%. Median profit 2.31%. Total profit '
|
'Avg profit 2.31%. Median profit 2.31%. Total profit '
|
||||||
'0.00023300 BTC ( 2.31\N{GREEK CAPITAL LETTER SIGMA}%). '
|
'0.00023300 BTC ( 2.31%). '
|
||||||
'Avg duration 100.0 min.'
|
'Avg duration 100.0 min.'
|
||||||
),
|
),
|
||||||
'params_details': {'buy': {'adx-enabled': False,
|
'params_details': {'buy': {'adx-enabled': False,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user