fix: decline underfunded integer-lot budget ties - #201
Merged
Conversation
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.
Decline a narrowly scoped 100%-equity stock entry when its cost consumes the entire rounded sizing budget but exceeds the actual frozen equity. The old admission allowance accepted this underfunded tie. Exactly funded entries stay admitted; the change applies only to ordinary, fee-free, truly flat long openings with one pending order and no tick gap.
Validation on engine
bfb8e0fb18ec720520f1f020b036786e084be5aawith codegen3fd97fe28abd7b191cb376d9f5db4e056fcfae4b:pineforge-pr-gate-cbnl4: PASS against baseline113ec87258f02cfee12db57f89b5631b0bb4bda9, target score +1, zero regressions or tolerated exceptions across 704 hard probes. Result: 4,158 excellent / 31 strong / 1 moderate.The fixture covers the source's inherited single-entry configuration, exact funding, adjacent floating-point budgets and excluded order modes. Existing admission allowances outside this narrow tie, grading metrics, thresholds, tolerances, verifier, harness, tapes and population are unchanged.
Candidate snapshot:
3d5962a17118a6244a0036b708342ba85967be6c85ba52f0df0cf4485a946022(788,859 bytes).