remove duplicate stat from BT table

This commit is contained in:
Stefano Ariestasia 2024-05-11 10:24:55 +09:00
parent 15c56e55c1
commit 4c2586b3aa

View File

@ -221,7 +221,6 @@ def text_table_add_metrics(strat_results: Dict) -> str:
('Expectancy (Ratio)', (
f"{strat_results['expectancy']:.2f} ({strat_results['expectancy_ratio']:.2f})" if
'expectancy_ratio' in strat_results else 'N/A')),
('Trades per day', strat_results['trades_per_day']),
('Avg. daily profit %',
f"{(strat_results['profit_total'] / strat_results['backtest_days']):.2%}"),
('Avg. stake amount', fmt_coin(strat_results['avg_stake_amount'],