Wstroud/kellygrid-nfl-moneyline-master
Make me a Sports betting calculator. I bet on moneyline odds for football games. First I want to enter my bankroll. Then I want you to covert that into units. After I have my units set up i want you to then have a drop down menu that ask me the team Im betting on. I will select one out of all 32 nfl teams and the program will remeber. I then want you to calculate how many units I should place on a teams moneyline based on the chance I think they have to win and the odds using the kelly betting system. This will work by there being a box where I can enter the odds and another one where I can enter the probability. I will then click a button that says calculate and you will : \(f\) is the fraction of your current bankroll to wager on the bet.\(p\) is the probability of winning.\(q\) is the probability of losing, which is simply \(1-p\).\(b\) is the decimal odds minus one, or the net odds received on the bet. For example, if you win $2 for every $1 you bet, the decimal odds are 3.0, and \(b=2\). After you tell me how many units I should bet put 2 boxes under it letting me either choose to place bet or cancel. If i choose place bet I want you to save the team, odds, and how many units I bet on it. Using this saved information I want you to import it into a chart that says the nfl week (week 4 starts today, week 5 starts in exactly 7 days so remerer that and automatically update it.) next to the team and the information of the bet I placed on that team.
Keeps a running log of bets in a CSV file with columns:
Asks me to enter my estimated win probability (p).
nothing is happening when I click calculate Kelly bet
you are not giving me Kelly odds
the percent value on the estimated win probabilty does not change when I move the slider it stays at 50 percent
for the matchup tab just do team and have the drop-down be all teams in the nfl
I want to make a program that helps me make profitable bets. I want you to take my current bankroll and convert it into betting units. Then I want you to let me track every moneyline bet I make on the NFL. I will give you odds and the team matchup. I want you to use the Kelly betting system to tell me how much to bet based on a probabilty that I believe.Lets me select the game/team I want to bet on.Asks me to enter my estimated win probability (p).Converts the moneyline odds into decimal odds and calculates the optimal bet size using the Kelly criterion:
initial commit
