calculateKellyStake: Calculates a single Kelly stake

Description Usage Arguments Value Examples

View source: R/betting_tools.R

Description

Returns the single Kelly stake. This is the percentage of one's bankroll one should bet to maximize the expected growth of one's bankroll on a single bet. This is known as the single Kelly stake.

Usage

1
2
3
4
5
6
7
calculateKellyStake(
  expected,
  payout,
  kelly_multiplier = 1,
  expected_odds = "prob",
  payout_odds = "dec"
)

Arguments

expected

A numerical value representing the odds of the expected payout.

payout

A numerical value representing the odds of the actual payout.

kelly_multiplier

A numerical value representing the kelly multiplier of the bet. The default value of the Kelly multiplier is 1.

expected_odds

A string representing the odds format of the expected payout. It is either "prob", "dec", or "us". The default odds format is in implied probability.

payout_odds

A string representing the odds format of the actual payout. It is either "prob", "dec", or "us". The default odds format is in decimal odds.

Value

The single Kelly stake.

Examples

1
2
3
4
5
6
7
calculateKellyStake(0.41, 2.56)

calculateKellyStake(-120, 150, expected_odds = "us", payout_odds = "us")

calculateKellyStake(0.70, -150, kelly_multiplier = 0.1, payout_odds = "us")

calculateKellyStake(0.26, -110, payout_odds = "us")

pwu97/bettingtools documentation built on May 27, 2020, 11:45 p.m.