fixed indent

This commit is contained in:
Yazeed Al Oyoun 2020-02-22 15:51:36 +01:00 committed by Matthias
parent 2fb3d94938
commit 6147498fd4
1 changed files with 1 additions and 1 deletions

View File

@ -533,7 +533,7 @@ class Hyperopt:
'total_profit': total_profit,
}
def _calculate_results_metrics(self, backtesting_results: DataFrame) -> Dict:
def _calculate_results_metrics(self, backtesting_results: DataFrame) -> Dict:
return {
'trade_count': len(backtesting_results.index),
'wins': len(backtesting_results[backtesting_results.profit_percent > 0]),