Skip to content

Commit f77facc

Browse files
committed
feat: run p_value test per line
Enables freqUI to display this.
1 parent e1c5357 commit f77facc

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

freqtrade/optimize/optimize_reports/optimize_reports.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@ def _generate_result_line(
225225
"sharpe": calculate_sharpe(result, min_date, max_date, starting_balance),
226226
"calmar": calculate_calmar(result, min_date, max_date, starting_balance),
227227
"sqn": calculate_sqn(result, starting_balance),
228+
"p_value": calculate_p_value(result, starting_balance),
228229
"profit_factor": profit_factor,
229230
"max_drawdown_account": drawdown.relative_account_drawdown if drawdown else 0.0,
230231
"max_drawdown_abs": drawdown.drawdown_abs if drawdown else 0.0,

0 commit comments

Comments
 (0)