Fantasy Football Lineup Generator for Draft Kings Lineup. The generator currently makes all calls to my API, which you can find the repo here. The algorithm for generating the lineup is a current work in progress and currently sorts all the positions by point production, and truncates the data set to five players per position. The app then calculates all lineup permutations and returns a lineup. The API currently restricts players who are injured, suspended, or on bye week. The API also restricts players who have already played in the current week.
The generator also allows the user to upload the latest salary data via CSV from Draft Kings. Please upload the new salary data every week before using the generator.
Lastly, you can apply a primitive multiplier to player stats depending on temperature and wind conditions. Just set the ranges for which temperature and wind speeds which can have an effect. Also, there are four settings which apply a different level of multiplier to the players. This is still a work in progress.
Please see install instructions. Also, go to Draftkings and download a CSV of their current lineup data for the week.
Install all dependencies
npm install
Run the dev environment with
npm start
- Bao Nguyen - Initial work - Github