Skip to content

Include initial wealth in drawdowns and ship default configuration in wheels - #3

Merged
dev-belly merged 1 commit into
mainfrom
fix/initial-drawdown-wheel-defaults-2026-10-11
Oct 12, 2026
Merged

dev-belly merged 1 commit into
mainfrom
fix/initial-drawdown-wheel-defaults-2026-10-11

Conversation

@dev-belly

@dev-belly dev-belly commented Oct 11, 2026 •

Copy link
Copy Markdown
Owner

A first-period loss became the first wealth peak, so returns [-20%, +10%] reported zero drawdown despite ending 12% below initial wealth. Include starting capital in drawdown statistics, rolling metrics, episode tables and report charts; immediate total loss remains a 100% drawdown.

A normal wheel install outside the checkout also failed to find configs/default.yaml. Bundle identical defaults inside the package, preserving editable-checkout and explicit-file selection. Add Windows Python 3.12 fast checks and direct PowerShell setup.

Validation: all 1,273 tests pass locally (1,261 fast and 12 full pipeline/API cases), financial/chart/config regressions pass, and Ruff, formatting, mypy and documentation checks pass. A built wheel loads its defaults and executes the complete 2019–2024 research pipeline, producing a self-contained HTML report outside the source checkout. Full pipeline/API checks are retained in GitHub CI.

@dev-belly
dev-belly marked this pull request as ready for review October 12, 2026 00:02
@dev-belly
dev-belly merged commit d7153c9 into main Oct 12, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant