kellycriterion

package module
Version: v0.0.0-...-78264e8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 9, 2020 License: MIT Imports: 0 Imported by: 1

README

kelly-criterion

Kelly Criterion calculator

	winChance := float64(0.6)
	payout := float64(1)

	calc := Calculate(winChance, payout)

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Calculate

func Calculate(winChance float64, payout float64) float64

Calculate winChance should be less than 0; payout is the net odds received on the wager. (e.g. betting $10, on win, rewards $4 plus wager; then b=0.4)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL