'with values:' line removed
This commit is contained in:
parent
3b65c986ee
commit
13620df717
@ -303,8 +303,9 @@ 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
|
||||||
with values:
|
|
||||||
Buy hyperspace params:
|
Buy hyperspace params:
|
||||||
{ 'adx-value': 44,
|
{ 'adx-value': 44,
|
||||||
'rsi-value': 29,
|
'rsi-value': 29,
|
||||||
@ -348,8 +349,9 @@ If you are optimizing ROI, you're result will look as follows and include a ROI
|
|||||||
|
|
||||||
```
|
```
|
||||||
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
|
||||||
with values:
|
|
||||||
Buy hyperspace params:
|
Buy hyperspace params:
|
||||||
{ 'adx-value': 44,
|
{ 'adx-value': 44,
|
||||||
'rsi-value': 29,
|
'rsi-value': 29,
|
||||||
|
@ -133,7 +133,7 @@ class Hyperopt(Backtesting):
|
|||||||
params = best_result['params']
|
params = best_result['params']
|
||||||
|
|
||||||
log_str = self.format_results_logstring(best_result)
|
log_str = self.format_results_logstring(best_result)
|
||||||
print(f"\nBest result:\n{log_str}\nwith values:")
|
print(f"\nBest result:\n\n{log_str}\n")
|
||||||
if self.has_space('buy'):
|
if self.has_space('buy'):
|
||||||
print('Buy hyperspace params:')
|
print('Buy hyperspace params:')
|
||||||
pprint({p.name: params.get(p.name) for p in self.hyperopt_space('buy')},
|
pprint({p.name: params.get(p.name) for p in self.hyperopt_space('buy')},
|
||||||
|
Loading…
Reference in New Issue
Block a user