kelly

Kelly criterion

kelly

Kelly criterion.

Example

var kelly = require('kelly');

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

Installation

$ npm install kelly

API

var 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.

HomePage

https://github.com/kenany/kelly#readme

Repository

git+https://github.com/kenany/kelly.git


相关推荐

暂无相关文章

公众号

欢迎 JavaScript 爱好者