Skip to content

Commit

Permalink
Quantize MAE/MFE metrics.
Browse files Browse the repository at this point in the history
  • Loading branch information
edtechre committed Mar 23, 2024
1 parent 959481b commit c7a0e8e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pybroker/strategy.py
Original file line number Diff line number Diff line change
Expand Up @@ -1510,6 +1510,8 @@ def _to_test_result(
"return_pct",
"agg_pnl",
"pnl_per_bar",
"mae",
"mfe",
):
trades_df[col] = quantize(
trades_df, col, self._config.round_test_result
Expand Down

0 comments on commit c7a0e8e

Please sign in to comment.