chore: bump to 0.7.0 for the taker-fee correction and the live PBO gate - #250
Merged
Conversation
Minor, not patch: #247 changed `can_promote`'s return type from a bare `(bool, reasons)` tuple to a `PromotionDecision`, and added a blocking condition that did not exist before. Every backtest number this release produces also differs from 0.6.1's, because fills are now priced at the taker rate the simulator actually models. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps all six workspace packages and every inter-package
==pin from0.6.1to0.7.0, andrelocks. No other code changes.
Closes #249.
Why this release matters operationally
The
~/keeldeployment is running 0.6.1, whosebacktest()still defaults tofee_pct=Decimal("0.006"). The simulator fills market-style at the next bar open — takerbehaviour — so every backtest run on the box today is costed at the maker rate. #247 fixed that on
mainsix commits ago and it has never been released, which means the promotion gate is currentlyreading numbers that are roughly twice as favourable as the fee schedule the config declares.
Why minor, not patch
#247 is not a bugfix in the version-number sense. It changed
can_promote's return type from abare
(bool, reasons)tuple to aPromotionDecision, and it added a blocking condition that didnot previously exist: a missing trial matrix (
pbo=None) is nowNOT_RUN, appears inreasons,and fails closed instead of passing silently. A rule that cleared promotion under 0.6.1 can be
refused under 0.7.0 with identical stats.
Every backtest figure this release produces also differs from 0.6.1's, for the fee reason above.
Callers who diff results across the upgrade should expect that and not treat it as a regression.
What is in the release
fix(strategy): price fills at the taker rate, and wire the dormant PBO gate into promotiondocs(experiments): at zero fee turtle_breakout makes money and rsi_meanrev does not — two failure modes, not onedocs(experiments): the hourly objection was right, and 0 of 144 tuned param sets clear break-evendocs(experiments): the promotion floor is reachable, and the rule fails it on edgeVerification
uv lockrefreshed, so the release build is not dirty (same reason as dc99601).grep -rn "0\.6\.1" --include=pyproject.toml --include=uv.lock . | grep -i keel→ empty.uv run pytest -q→ 2712 passed, 1 skipped.tests/test_packaging.pyfails the build if apin is left behind, so a green suite is itself the pin check.
requires-python, orkeel/_build_info.pywas touched (the release workflow stamps the latter).After merge: Actions → Release → Run workflow with input
0.7.0, then install the four deploymentwheels into
~/keel/.venvby path and runkeel versions+keel migrateagainst both databases.🤖 Generated with Claude Code