mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
fixed indent
This commit is contained in:
parent
181b12b3a8
commit
c9711678fd
|
@ -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]),
|
||||
|
|
Loading…
Reference in New Issue
Block a user