sim_binary: Simulate Kelly strategy for generalized coin toss

Description Usage Arguments Details Value

View source: R/simulations.R

Description

Simulating the generalized coin tossing gambling game.

Usage

1
sim_binary(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/KellyCriterion documentation built on Oct. 12, 2020, 4:21 a.m.