Sports-book-manager helps programmers connect their model predictions to the sports book of their choice. By inputting the necessary html information into an instance of the BookScraper class, users can get back all wagers of the sports book of their choice. This, along with a couple of python modules to convert and compare market odds to model outputs, does the tedious work for the user and saves them time.
sports-book-manager/
|- sports_book_manager/
|- __init__.py
|- book_scrape_class.py
|- implied_probability_calculator.py
|- model_probability.py
|- tests/
|- __init__.py
|- test_book_scrape.py
|- test_ipc_outputs.py
|- test_mp_outputs.py
|- data/
|- hockey_odds.csv
|- model_output_example.csv
|- examples/
|-example.ipynb
|- docs/
|- written_report.pdf
|- presentation.pdf
|- setup.py
|- requirements.txt
|- README.md
|- LICENSE
Enter the following into your command prompt
pip3 install git+https://github.com/rafrisci/sports-book-manager
First create a clone of the repository
git clone https://github.com/rafrisci/sports-book-manager
Then go into the project directory and install the requirements
cd sports-book-manager
python -m pip install -r requirements.txt
Finally run the setup.py to download the package
sudo python setup.py install
See the example notebook to see how the package works, using PointsBet and the data files.