Repository navigation
Compare player props only within the same game and period - #35
Merged
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.
The Python package listing links to this example. The original implementation could match the same player and line across separate games. In a fictional regression it paired Friday’s two-sided reference with Sunday’s +150 and printed a 10-point difference.
The example now matches canonical event, player label, requested market, period and numeric line. It skips marked DFS midpoint or flat-payout rows and ambiguous book prices. The results name the event, side and reference book. The offline example pairs Friday’s +120 with Friday’s reference for a 4.55 percentage point difference. The README gives the exact command.
Nine regression tests passed against the published 0.3.3 wheel and the source package. The example runs without a key or a network call. The separate account path retains the existing CLI inputs and requests one page. No package release.