Repository navigation
Fix conditional limit slippage and trade-triggered quote execution - #203
Open
stefan-jansen wants to merge 10 commits into
Open
stefan-jansen wants to merge 10 commits into
stefan-jansen wants to merge 10 commits into
Conversation
Bumps the github-actions group with 2 updates: [actions/dependency-review-action](https://github.com/actions/dependency-review-action) and [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv). Updates `actions/dependency-review-action` from 5.0.0 to 5.0.1 - [Release notes](https://github.com/actions/dependency-review-action/releases) - [Commits](actions/dependency-review-action@a1d282b...bbc44d1) Updates `astral-sh/setup-uv` from 10.3.3 to 10.4.0 - [Release notes](https://github.com/astral-sh/setup-uv/releases) - [Commits](astral-sh/setup-uv@68559e9...1db35dd) --- updated-dependencies: - dependency-name: actions/dependency-review-action dependency-version: 5.0.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions - dependency-name: astral-sh/setup-uv dependency-version: 10.4.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: github-actions ... Signed-off-by: dependabot[bot] <support@github.com>
…itional-quote-limit-20261123
Base automatically changed from
dependabot/github_actions/github-actions-f3f4aea047
to
main
November 24, 2026 19:43
stefan-jansen
marked this pull request as ready for review
November 24, 2026 19:43
This branch has not been deployed
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.
Problem and behavior
Closes #183. Closes #192.
Resting intrabar limits and bracket take-profits can now opt into
limit_slippage_policy="clamp": an eligible execution is capped at the order limit after impact/slippage. The default remainsdefer, and neither policy makes an out-of-bounds bid/ask executable. Fees remain separate from the execution-price bound.conditional_order_mode="trade_quote"activates pending STOP/LIMIT/STOP_LIMIT orders from the observed trade (close) and executes buys at ask and sells at bid. Missing opposite quotes raise instead of inventing liquidity; events for other assets leave the order pending. Stop activation persists across partial fills, cancellation works, and exported fills retain the originaltrigger_priceand activation time. This mode uses the observed close rather than inferring an OHLC path.The guide describes these assumptions, defaults and liquidity limits. The stable API snapshot records only additive keyword/default and nullable artifact fields, preserving existing positional arguments and older artifact loading.
Verification
99ee9970f74dbde59d2863189108146fc60e9685; 95 focused execution/property/artifact/export cases pass after the repair.validation/successor-integration-requirements.txt.No new performance measurements or claims are introduced. Opt-in behaviors do not change the retained strategies' defaults; runners, inputs and dependencies are unchanged. The measured-path impact review certifies the retained timing evidence under the existing validator.
AI assistance
OpenAI Codex implemented and reviewed the maintenance changes, reproduced failures, inspected the actual execution and accounting paths, and ran the checks reported above. Original issue authors retain attribution for their reports and proposed policies.