add missing s to Backtest cum results

This commit is contained in:
Matthias 2018-07-11 14:50:04 +02:00 committed by GitHub
parent 1f16ff268f
commit 06c9494a46
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]),