Skip to content

Commit c7a0e8e

Browse files
committed
Quantize MAE/MFE metrics.
1 parent 959481b commit c7a0e8e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/pybroker/strategy.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1510,6 +1510,8 @@ def _to_test_result(
15101510
"return_pct",
15111511
"agg_pnl",
15121512
"pnl_per_bar",
1513+
"mae",
1514+
"mfe",
15131515
):
15141516
trades_df[col] = quantize(
15151517
trades_df, col, self._config.round_test_result

0 commit comments

Comments
 (0)