VincentLa / draftkings

1 stars 0 forks source link

Set up backtesting capabilities #8

Open KGe001 opened 4 years ago

KGe001 commented 4 years ago

Will need to restructure the optimizer code - package optimizer in a function call that can be flexibly used. Functions required: Predicted Lineup = Optimizer, given salary and EV/predictions Best Possible = Optimize, given salary and actual box scores Actual performance of Predicted = Function that calculated DK pts, given player list + date

These to be called in a wrapper function that will run with date range and output options

During live testing, it would be useful to also gather data on score of cashing/breakeven/top10%/top5%/top etc if possible so that we can estimate these on dates we arent playing

VincentLa commented 4 years ago

Interesting, I think we can access historical draftkings contests data https://rotogrinders.com/resultsdb/site/draftkings/date/2020-08-09/sport/nba/slate/5f3081797bf28b47ec485a9c not sure if possible to scrape though

On Sun, Aug 9, 2020, 9:11 PM KGe001 notifications@github.com wrote:

Will need to restructure the optimizer code - package optimizer in a function call that can be flexibly used. Functions required: Predicted Lineup = Optimizer, given salary and EV/predictions Best Possible = Optimize, given salary and actual box scores Actual performance of Predicted = Function that calculated DK pts, given player list + date

These to be called in a wrapper function that will run with date range and output options

During live testing, it would be useful to also gather data on score of cashing/breakeven/top10%/top5%/top etc if possible so that we can estimate these on dates we arent playing

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/VincentLa/draftkings/issues/8, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC6S7R5H46KYACEUYYYZBLLR75QMNANCNFSM4PZQ5AEA .