mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-13 03:33:55 +00:00
Merge pull request #10198 from stash86/bt-metrics
remove duplicate stat from BT table
This commit is contained in:
commit
42705374d0
|
@ -221,7 +221,6 @@ def text_table_add_metrics(strat_results: Dict) -> str:
|
||||||
('Expectancy (Ratio)', (
|
('Expectancy (Ratio)', (
|
||||||
f"{strat_results['expectancy']:.2f} ({strat_results['expectancy_ratio']:.2f})" if
|
f"{strat_results['expectancy']:.2f} ({strat_results['expectancy_ratio']:.2f})" if
|
||||||
'expectancy_ratio' in strat_results else 'N/A')),
|
'expectancy_ratio' in strat_results else 'N/A')),
|
||||||
('Trades per day', strat_results['trades_per_day']),
|
|
||||||
('Avg. daily profit %',
|
('Avg. daily profit %',
|
||||||
f"{(strat_results['profit_total'] / strat_results['backtest_days']):.2%}"),
|
f"{(strat_results['profit_total'] / strat_results['backtest_days']):.2%}"),
|
||||||
('Avg. stake amount', fmt_coin(strat_results['avg_stake_amount'],
|
('Avg. stake amount', fmt_coin(strat_results['avg_stake_amount'],
|
||||||
|
|
Loading…
Reference in New Issue
Block a user