polymarket-trading-developer-tool
v0.1.2
Published
Kelly stake sizing and decimal-safe rounding for Polymarket binary markets
Maintainers
Readme
polymarket-trading-developer-tool
Kelly-criterion stake sizing for Polymarket Up/Down binary markets.
Install
npm install polymarket-trading-developer-toolUsage
const { computeKellyStake, formatStakeUsd, roundStake } = require('polymarket-trading-developer-tool');
const stake = computeKellyStake({
probability: 0.58,
allInPrice: 0.52,
bankroll: 500,
maxStake: 25,
minStake: 5,
kellyFraction: 0.5,
});Changelog
0.1.2
- Install-time peer dependency check
- Kelly helpers unchanged
0.1.1 - 0.1.0
See npm release history.
Licence
MIT
