Skip to contents

Get the optimal fraction of your bankroll to bet based on the Kelly Criterion

Usage

get_kelly_bet(p = 0.5, a = 1, b = 1)

Arguments

p

The probability of a positive outcome

a

The fraction that is lost in a negative outcome.

b

The fraction that is gained in a positive outcome.

Value

A proportion

Examples

get_kelly_bet(0.8, 0.5, 2)
#> [1] 1.5