carlzoo / sportsbooklib Goto Github PK
View Code? Open in Web Editor NEWPython module for performing sportsbook odds calculations
License: MIT License
Python module for performing sportsbook odds calculations
License: MIT License
Poisson calculator for probability of props occurring:
One variable:
Two variables:
Calculate the Kelly criterion and % of bankroll based on the expected value.
Support the following odds format and conversion from each format:
Given a combination of selections - calculate the total parlay odds
Given a free bet amount, bet odd, and hedge odd, determine the hedge amount, hedge profit and overall profit %.
Define guidelines and rules for contributing to the project.
Calculate the average hold (vig) for each outcome, given a set of odds.
Should support calculating the average hold based on all odds, for n>=2 outcomes. The total probability without hold should add up to 100%.
Given n games, find all possible combination for at most m games or exactly m games, and the maximum win for m legs.
Given two spreads (handicaps) separated by >=0.5, determine all profits/losses (including max profit/loss) for each possible outcome, as well as the optimal wager amount on each spread.
Calculate maximum profit from and bet for arbitrage betting.
Support 2-way and 3-way arbitrage.
Convert Spread to ML odds and vice versa.
Support odds boosts and profit boosts to parlays
Add codecov https://about.codecov.io/ and badge on README.md
In addition to multiplicative method to determine implied odds, support the following methods:
Move models to init.py so imports are less awkward
from sportsbooklib.models import Odds
instead of
from sportsbooklib.models.odds import Odds
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.