commitmentRatio
Fraction of stack put in to call.
commitmentRatio(toCall: number, effectiveStackBeforeCall: number): number
Import
const poker = require('poker-calculations');
ESM (Node):
import { createRequire } from 'module';
const require = createRequire(import.meta.url);
const poker = require('poker-calculations');
When to use
See how pot-committed a call is: toCall / effectiveStack. High ratios warn that future fold equity is limited and stack-off decisions loom.
How to use
const toCall = 120;
const stack = 200;
console.log(poker.commitmentRatio(toCall, stack)); // 0.6 — 60% of stack in
console.log(poker.sprAfterCall(80, toCall, stack));