Open linuxdood opened 7 months ago
I'm on WSL after getting thrown the "cannot parse keras metadata model" error on windows 10. I was getting the same error as linuxdood once run on WSL so I changed the Kelly_Criterion.py as saqib772 specified. Now I'm getting this: I'll start going through the calls to make exceptions tomorrow since it has taken me a while to get to this point tonight, but just wanted to give the update.
This is working for me:
@saqib772 @Scandianis Scandianis' is working for me now too, but I don't know if that's just because it's no longer returning None for the OU on any of the games. Will have to see how it does next time that happens but thanks for both your help :)
@Shanna3229 is correct - I also believe now that SOME of the sites are not returning the data or some of the data. I initially tested with fanduel and draftkings since those are the books I use. When they both failed, on a a whim, I tried wynn as well, and it failed with this error as well. So i thought it was code related. After reading @Shanna3229's comment, I tried every book, and low and behold, betmgm, pointsbet and bet_rivers_ny WORKED! It just so happens that I managed to hit the 3 that didn't provide the required data and caused the error. I have made the code adjustments and now it executes flawlessly - it simply does not provide EV information when the data is incomplete. SUGGESTION : Perhaps include a statement when displaying the information " The EV values are incalculable due to incomplete information from the Odds provider (try another book : fandual, draftkings, betmgm, points bet, wynn, bet_rivers_ny) " ?
Thank you for your efforts.
I am unsure if I should close this issue, not sure if I leave it here to remind to have this code correction merged into the package and if the suggesting of posting a message about incomplete data from Odds provider should be added to output?
Please advise.
Cheers. -y
Followed the instructions from the README.md for the setup of the package. Had some errors when installing some of the packages due to 'environment managed externally' messages, but I believe those are worked out and not part of the issue I am having. This is capture is from an Arch Linux setup, and further confirmed with same error on a MacBook. I get the first 2 parts of the output, but errors for the last part :
Suggestions? I messed around in the code to try and Try/Except trap the error, but without success.