Astralchemist
Astralchemist
sorry for the slow reply on this it sat way too long and that is on me and thank you for reading through the code and writing it up so...
Thanks for confirming it on `be72549`, and for tracing the other two call sites. #2359 already applies the same clip to both: `get_max_drawdown_from_series` clips its peak at 1 and `_calculate_mdd`...
The `compounded` flag would be welcome, and it has the precedent you mention in `calmar` and `rar` since #512. But there is a larger gap in the same function that...
The mix is deliberate. With `compounded=True` the numerator is the strategy CAGR minus the benchmark CAGR, the two figures the report already prints, so the information ratio can be checked...
A version of this that needs no outside service would sit in `_post_order` in `overrides.py`, where the three `place_*` tools already build the request, and read a few environment variables...