kyleskom / NBA-Machine-Learning-Sports-Betting

NBA sports betting using machine learning
1.23k stars 443 forks source link

Odds not working from certain providers. #419

Open linuxdood opened 8 months ago

linuxdood commented 8 months ago

I am posting this as a separate issue from the 'TypeError' issue I recently posted.

It has been at least a week, at various times throughout the day that odds are not available when using the 'fanduel', 'draftkings' and 'wynn' options when launching 'python3 main.py -xgb -odds=fanduel'

I am uncertain of these providers have changed their permissions or data structure (sorry, I haven't looked into how the code fetches the data), but the EV portion is always 0 now when using these providers.

Questions:

  1. Can the existing 'broken' odds providers be verified and adjust code accordingly (or removed)? (fanduel, draftkings, wynn)
  2. Is it possible to add more providers? (i.e., bet365? Sportsinteraction? Betway? Bovada? etc.
  3. As the last line of the output, could we add the launch command along with the delimited list of available Odds options? I find I have to come back to this page or cat the README.md to review the options when I don't use it frequently. I would suggest something along the lines of : "These predictions can be launched using 'python3 main.py -xgb -odds=xxxxx', where 'xxxxx' is one of fanduel, draftkings, betmgm, pointsbet, caesers, wynn, bet_rivers_ny'

***I have some coding experience, a little limited on python, but am willing to get involved in this project as I find it quite interesting, even as a tester, if so desired.