PainStaking.kelly

You're seeing just the function kelly, go back to PainStaking module for more information.
Link to this function

kelly(edges, opts \\ [])

View Source

Specs

kelly([edge()], staking_options()) ::
  {:ok, [tagged_number()]} | {:error, String.t()}

How much to stake on advantage situations based on the Kelly Criterion

The output list may be in a different order or have fewer elements than the input list.

Mutually exclusive bets are staked as if they were not simultaneous. This leads to over-betting. The difference is negligible on small sets of wagers.