merton.reports.html¶
Render BacktestResult (or any other result) as a standalone HTML page.
Implementation is intentionally dependency-light: we build the page with plain
f-string templating so users don’t need jinja2 for the basic report. When
[viz] is installed, embedded SVGs of the ROC and calibration curves are
included.
Functions¶
|
Return an HTML string (and optionally write it to |