Correct execution edge cases across exits, margin, EMA, and pyramiding#104
Merged
Conversation
Normalize explicit zero trailing offsets onto the existing omitted-offset activation path while preserving positive-offset behavior. Add exact long and short resolver regressions for activation-price fills. (cherry picked from commit bd7aa83a2b1b91784de8c9abb967a40c541788c0)
(cherry picked from commit 415560abb5c97aa26f2924487ea2d45d531a6a04)
(cherry picked from commit 83a31f719920930ac0d67ab267e33f7dc0df5dc5)
(cherry picked from commit 2df55e30c9fa22fd2eb2d585c4c24405a877eaee)
(cherry picked from commit 4e54a77880055d727350458a3cfd0d742a1503e1)
(cherry picked from commit 40f9adb2275e1d0afdae988cfb2663dfbc6f6774)
(cherry picked from commit 4b631e171060c3db9d65aa7c4a7001438bb5aad2)
(cherry picked from commit 0466c948d10323771b902d5d5ee483e5800c6b92)
(cherry picked from commit b56c6f1e959bd9cd270884509451decf08fafc08)
(cherry picked from commit 27b7c2e98913d633750e1b596faf86eab1eb8ac7)
(cherry picked from commit d8ac5c13e1343121d3941d492abe7ba6e5b11c49)
(cherry picked from commit 345d8047219606e6f883a32285020d58d4b5194a)
(cherry picked from commit 7638461c850dfbced3ef96acc396e546eeac0169)
(cherry picked from commit a7caa92aceea38644207df0eec6f3532349614e5)
(cherry picked from commit a34485963a3813b9cfb46876c4a560d5d2fbaaff)
(cherry picked from commit a50849d7839f0d2518b4eca8ca2c496287886eed)
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.
Summary
The 16 commits are intentionally published as one validated milestone: several behaviors compose across commits, and the final head is the unit proven to have zero strategy downgrades.
Validation
Generated corpus outputs from the validation run are not part of this PR.