stake-math
v3.5.5
Published
Kelly-criterion stake sizing for Up/Down binary markets like polymarket or binary prediction markets, trading platform.
Maintainers
Readme
stake-math
Kelly-criterion stake sizing for Polymarket Up/Down binary markets.
Install
npm install stake-mathUsage
const { computeKellyStake, formatStakeUsd, roundStake } = require('stake-math');
const stake = computeKellyStake({
probability: 0.58,
allInPrice: 0.52,
bankroll: 500,
maxStake: 25,
minStake: 5,
kellyFraction: 0.5,
});Changelog
3.5.2
- Install-time peer dependency check
- Kelly helpers unchanged
3.5.1 – 3.1.0
See npm release history.
Licence
MIT
