Using Genetic Algorithms to optimize Draftkings lineups based on set parameters.
- For LoL:
- Download the Draftkings CSV from their website and save it in the text directory with the default name of "DKSalaries.txt"
- Go to http://fantasy.na.lolesports.com/en-US/stats and for each week played download the
<tbody>
tag of the table and save it in the html folder with lcs_fantasy_week_x.html - On that site, also download the entire split stats and save it in the html folder as lcs_fantasy_stats_split.html
- Do the last 2 steps for the teams as well.
- Then just run the run.py file in the LCS folder with
python run.py
- For NFL:
- Download the Draftkings CSV from their website and save it in the data directory with the default name of "DKSalaries.txt"
- Then just run the run.py file in the NFL folder with
python run.py