Rewrite reversal report as tutorial
This commit is contained in:
@@ -527,7 +527,7 @@ def render_report(results: dict, data_summary: dict, timings: dict,
|
||||
])
|
||||
storage = _md_table(
|
||||
["run", "schema ok", "null w", "non-finite w", "dup keys",
|
||||
"max |daily mean|", "weight range", "combo identity Δ"],
|
||||
"max \\|daily mean\\|", "weight range", "combo identity Δ"],
|
||||
storage_rows,
|
||||
)
|
||||
|
||||
@@ -547,7 +547,7 @@ def render_report(results: dict, data_summary: dict, timings: dict,
|
||||
_money(p["l1_tracking_mean"]),
|
||||
])
|
||||
closeness = _md_table(
|
||||
["run", "target_value identity max|Δ|", "alpha→target max|Δ|",
|
||||
["run", "target_value identity max\\|Δ\\|", "alpha→target max\\|Δ\\|",
|
||||
"research corr(alpha,portfolio)", "mean integer gross", "mean L1 tracking"],
|
||||
close_rows,
|
||||
)
|
||||
@@ -647,8 +647,8 @@ constraints, 5 bps commission + 5 bps slippage.*
|
||||
|
||||
## 1. Are Alpha Values Properly Stored?
|
||||
|
||||
All alpha artifacts conform to `ALPHA_COLUMNS` (`symbol_id, date, alpha_name,
|
||||
weight`), carry no null / non-finite weights, no duplicate `(symbol_id, date)`
|
||||
All alpha artifacts conform to `ALPHA_COLUMNS` (`symbol_id`, `date`, `alpha_name`,
|
||||
`weight`), carry no null / non-finite weights, no duplicate `(symbol_id, date)`
|
||||
keys, and have numerically-zero daily cross-sectional means (weights are
|
||||
demeaned per date).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user