Merge pull request #1015 from freqtrade/xmatthias-patch-1

add missing s to Backtest cum results
This commit is contained in:
Janne Sinivirta 2018-07-11 16:18:07 +03:00 committed by GitHub
commit bd46b4faf3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -110,7 +110,7 @@ class Backtesting(object):
'TOTAL', 'TOTAL',
len(results.index), len(results.index),
results.profit_percent.mean() * 100.0, results.profit_percent.mean() * 100.0,
result.profit_percent.sum() * 100.0, results.profit_percent.sum() * 100.0,
results.profit_abs.sum(), results.profit_abs.sum(),
results.trade_duration.mean(), results.trade_duration.mean(),
len(results[results.profit_abs > 0]), len(results[results.profit_abs > 0]),