kelly
is an Emacs Lisp implementation of the Kelly criterion, a formula used to determine the optimal size of a series of bets.
Clone this repository and add this to your init.el
file:
(add-to-list 'load-path "path/to/kelly")
Where "path/to/kelly"
is the path to the local repository you just cloned.
If you use a package manager, or Emacs +30, you just need to add this your init.el
file:
;; with vc (Emacs 30 or later)
(use-package kelly
:vc (:url "https://github.com/benthamite/kelly"))
;; with elpaca
(use-package kelly
:ensure (:host github :repo "benthamite/kelly"))
;; with straight
(use-package kelly
:straight (:host github :repo "benthamite/kelly"))
;; with quelpa
(use-package kelly
:quelpa (kelly :fetcher github :repo "benthamite/kelly"))
b
parameter. Supported formats:
fractional-odds
(default): Prompts for fractional (British) odds (e.g.3
).decimal-odds
: Prompts for decimal (European) odds (e.g.4
).moneyline-odds
: Promps for Moneyline (American) odds (e.g.300
).implied-probability
: Prompts for the implied betting odds probability (e.g.0.25
).implied-percent
: Prompts for the implied betting odds percentage (e.g.25%
). (The percent symbol is optional.)
1
uses the full Kelly recommendation, while a value less than 1
scales the wager down proportionally.
Sets your total available funds for wagering. If left as nil
, you’ll be prompted to enter a value when running kelly
for the first time.
Specifies your currency symbol (default is "$"
).
M-x kelly RET
.
The package has not been extensively tested. If you encounter any problems, feel free to open an issue.