Skip to content

Latest commit

 

History

History
59 lines (55 loc) · 2.11 KB

README.md

File metadata and controls

59 lines (55 loc) · 2.11 KB

logo file

Build Status Coverage Status GitHub license

sports-book-manager

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.


Project Organization

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

Installation

On Windows Anaconda

Enter the following into your command prompt

pip3 install git+https://github.com/rafrisci/sports-book-manager

On Linux

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

Usage

See the example notebook to see how the package works, using PointsBet and the data files.