Skip to content

Here is a simple genetic algorithm to produce lineups for daily fantasy contests on DraftKings.

Notifications You must be signed in to change notification settings

jnederlo/daily_fantasy_genetic_algorithm

Repository files navigation

A Genetic Algorithm to build lineups for Daily Fantasy Sports - NHL Contests on Draftkings

I wrote up an article on medium detailing the code which you can find here. But since you're already here at my repository you can just clone it and run the code.

After you clone the repo, log into your DraftKings account and download the daily roster for NHL contests. Make sure to put the downloaded CSV file into the repo. Than execute the program like so:

$ python genetic_algorithm.py

That's it! Now you have lineups in a CSV file ready to upload directly into DraftKings.

About

Here is a simple genetic algorithm to produce lineups for daily fantasy contests on DraftKings.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages