fixed indent

This commit is contained in:
Yazeed Al Oyoun 2020-02-22 15:51:36 +01:00 committed by Matthias
parent 181b12b3a8
commit c9711678fd

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]),