3.0.0 • Published 8 months ago

kelly v3.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
8 months ago

kelly

Kelly criterion.

Example

const kelly = require('kelly');

kelly(1, 0.6);
// => 0.19999999999999996

Installation

$ npm install kelly

API

const kelly = require('kelly');

kelly(b, p)

Given two Number arguments, where b is the net odds received on the wager and p is the probability of winning, returns the fraction of the current bankroll (as a Number) that one should bet to maximize the long-run growth rate of the bankroll.

3.0.0

8 months ago

2.0.0

12 months ago

1.0.4

8 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago