hedge: Hedge Calculator

Description Usage Arguments Value

Description

Determine the best hedge bet to make

Usage

1
hedge(initialbet, initialodds, hedgeodds, oddstype = default.GamblR.odds())

Arguments

initialbet

Initial bet amount

initialodds

Odds that initial bet was made at

hedgeodds

Odds of the prospective hedge (this may be able to take any length of input?)

oddstype

Format of input odds (e.g. decimal, see Convert odds)

Value

A list containing the hedge amount, the amount won if the initial bet wins, and the amount won if the hedge bet wins


shearwavesplitter/GamblR documentation built on May 30, 2019, 8:27 a.m.