You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for sharing of the code for this great tool! Regarding the issue. Maybe I have misunderstood something, but I am struggling to get proper case when in you function "should_call" the "ev" can be less than "0". Shouldn't it be more than "0" in all cases? Could you please advice?
def should_call(players,percentile,pot,price):
pwin = (percentile/100)**players
ev = pwin*pot
if ev <= 0:
print('you should fold')
if ev > 0:
print('You should bet as long as it is less than %s $' % ev)
print('The expected value betting %s is %s $' % (price,ev-price))
return pwin*100
The text was updated successfully, but these errors were encountered:
@SergeyPetrovskiy Thanks for your comment, you are right ev cannot be less than 0, what I meant there was actually not ev but ev - price, I have corrected that already in the repo, now you can see ev - price can be negative then you should not bet :)
Hello Diego.
Thank you for sharing of the code for this great tool! Regarding the issue. Maybe I have misunderstood something, but I am struggling to get proper case when in you function "should_call" the "ev" can be less than "0". Shouldn't it be more than "0" in all cases? Could you please advice?
The text was updated successfully, but these errors were encountered: