optimalBinary: Simulate Kelly strategy for generalized coin toss

View source: R/binaryWagers.R

optimalBinaryR Documentation

Simulate Kelly strategy for generalized coin toss

Description

Simulating the generalized coin tossing gambling game.

Usage

optimalBinary(bankroll, p, a, b, trials = 100)

Arguments

bankroll

initial bankroll to bet with

p

probability of winning each trial

a

payout on winning toss on top of wager

b

wager lost on each trial on losing toss

trials

number of trials to simulate

Details

Start off with a given value of wealth and bet the Kelly fraction each round.

Value

vector


shill1729/kellyfractions documentation built on July 16, 2025, 6:21 p.m.