mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 18:23:55 +00:00
fixed profit total calculation
This commit is contained in:
parent
8b2c14a6fa
commit
ed39b8dab0
|
@ -82,7 +82,7 @@ def _generate_result_line(result: DataFrame, starting_balance: int, first_column
|
|||
'profit_sum_pct': round(profit_sum * 100.0, 2),
|
||||
'profit_total_abs': result['profit_abs'].sum(),
|
||||
'profit_total': profit_total,
|
||||
'profit_total_pct': round(profit_sum * 100.0, 2),
|
||||
'profit_total_pct': round(profit_total * 100.0, 2),
|
||||
'duration_avg': str(timedelta(
|
||||
minutes=round(result['trade_duration'].mean()))
|
||||
) if not result.empty else '0:00',
|
||||
|
|
Loading…
Reference in New Issue
Block a user