Fix missing )

Copy and paste error from cherry-picking this change
This commit is contained in:
JoeSchr 2021-04-24 13:13:37 +02:00 committed by GitHub
parent 3c6b1da22f
commit 191bca8755
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -519,7 +519,7 @@ def text_table_add_metrics(strat_results: Dict) -> str:
('Absolute profit ', round_coin_value(strat_results['profit_total_abs'], ('Absolute profit ', round_coin_value(strat_results['profit_total_abs'],
strat_results['stake_currency'])), strat_results['stake_currency'])),
('Market change', f"{round(strat_results['market_change'] * 100, 2)}%"), ('Market change', f"{round(strat_results['market_change'] * 100, 2)}%"),
('Win Rate', f'{round(win_rate)}% ' + 'Wins {}:{}'.format(wins,losses), ('Win Rate', f'{round(win_rate)}% ' + 'Wins {}:{}'.format(wins,losses)),
('Total trades', strat_results['total_trades']), ('Total trades', strat_results['total_trades']),
('Total profit %', f'{round(strat_results["profit_total"] * 100, 2)}%'), ('Total profit %', f'{round(strat_results["profit_total"] * 100, 2)}%'),
('Avg. / Median profit per Trade', f'{profit_mean_pct}% / {profit_median_pct}%') ('Avg. / Median profit per Trade', f'{profit_mean_pct}% / {profit_median_pct}%')