Skip to content

Commit ef55bf6

Browse files
committed
fix: use absolute daily profit instead of relative
closes freqtrade#11987
1 parent 25ffc76 commit ef55bf6

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

freqtrade/optimize/optimize_reports/bt_output.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -332,8 +332,11 @@ def text_table_add_metrics(strat_results: dict) -> None:
332332
),
333333
),
334334
(
335-
"Avg. daily profit %",
336-
f"{(strat_results['profit_total'] / strat_results['backtest_days']):.2%}",
335+
"Avg. daily profit",
336+
fmt_coin(
337+
(strat_results["profit_total_abs"] / strat_results["backtest_days"]),
338+
strat_results["stake_currency"],
339+
),
337340
),
338341
(
339342
"Avg. stake amount",

0 commit comments

Comments
 (0)