This script is meant for filtering out your wager results (including ROI, Records, and Profit) using various bet types (ML, Spread, OverUnder) and various sports.
Prerequisites: virtualenv should be installed.
# Working directory should be the repo root
# Set up a new virtualenv - here named 'venv'
virtualenv venv
# Activate the virtualenv - below is the Windows Powershell way
.\venv\Scripts\activate.ps1
# Install the dependencies
pip install -r requirements.txt
NitrogenSports has changed the format of the wager history file, it now downloads as a CSV named MyWagers.csv.
Put the csv file in the same directory as these scripts and run python3 analysis.py
. You can also load up analysis.py in your preferred editor and run from there.
Although it started out as a personal script and customized specifically for me, I'm expecting this to become a more general tool for anyone. Perhaps even generalize it for sportsbooks beyond Nitrogen.
Feel free to fork and help build this up for all of us sports gamblers!