ensignlee / ssbook

ssbook
5 stars 3 forks source link

Breakeven Winning % not calculating correctly #86

Closed ensignlee closed 13 years ago

ensignlee commented 13 years ago

So if you filter my bets down to the ones with a tag that says "NFL 2nd Half System", you'll see that my average odds are -112, but my breakeven winning % is 47%.

Did we accidentally revert back to the old formula that was wrong (we found this problem earlier at your place)?

If not, maybe we should consider just taking the average odds number (it looks correct) and calculating the breakeven winning % from that, rather than what we're doing currently.

ensignlee commented 13 years ago

After investigating further, this problem might only be after filtering the wagers.

Is it possible we're still using the old, broken formula when wagers are filtered? Or that the filtering isn't applying correctly to this calculation?

Either way, changing the formula to just take the final number that shows up for average odds on the page and going from there seems like a pretty good solution.

camerondavison commented 13 years ago

i think that when we were trying to fix 1 formula we screwed up the other one without re checking it. I am pretty sure it suppose to be 53% so it is fixed now

camerondavison commented 13 years ago

fix formula for odds below 0 break even. closed by 3ca68a97c2bd52a98d7a10896c06765303563937