This page answers:How much should this stake be, so that you can still earn but never lose your way out?
This page answers one question only: how much to stake on this position. It does not tell you whether to take the opportunity.
Core formulas (verbatim from 12-下注规模算法.md §4 Step2, implemented as-is with nothing changed): odds b = net gain when you win ÷ net loss when you lose; f_full = (b × p − q) ÷ b (q = 1 − p); suggested f = f_full × 0.25 ~ 0.5 (take the conservative 0.25).
Bands (verbatim §4 Step4):EV ≤ 0 → 🔴 don't bet | f_full < 2% → 🟡 too small | 2%–10% → 🟢 standard (stake at 1/2 Kelly) | 10%–25% → 🔵 big edge (stake at 1/4 Kelly, split over 2–3 entries) | > 25% → ⚠️ caution (your p is most likely misjudged).
Smallest of three (verbatim §4 Step3):actual stake ratio = min( f, 5% of disposable funds, your “sleep well” ceiling ).
Hard gates (stated outright in the doc's §3; they override the bands above):K3 no survival floor → no betting; K6 no stop-loss rule → do not start; K4 only one shot left → do not use this algorithm (use 03's convexity ratio instead); §6 hard rule: an opportunity whose p cannot be estimated gets a “zero-cost trial” only, never a stake amount.
Circuit-breakers (§4 Step5):3 losses in a row → stop and re-estimate p; cumulative loss reaching 15% of disposable funds → pause everything.
/opt/inventory/econ_algorithms/12-下注规模算法.md, 161 lines, finalised 2026-09-14, read-only), and have not been through any external empirical testing. The doc's §1 gives a citation for the Kelly criterion (Kelly 1956, Bell System Technical Journal, DOI 10.1002/j.1538-7305.1956.tb03809.x), but 2% / 10% / 25% / 5% / 15% / 3 losses in a row / the 1/4–1/2 Kelly reduction are practice lines the methodology set for itself; the doc itself labels “the half-Kelly / quarter-Kelly convention” as “a practice summary, an empirical rule”.min(). This page resolves it by multiplying the ratio by disposable funds to get an amount first, then taking the smaller against the sleep-well ceiling. That step is this page's implementation and the doc does not state it, so it is flagged unconfirmed.fFull <= 0.10 directly would flip an input of “exactly 10%” into 🔵 big edge by mistake. The tolerance only makes inputs that sit exactly on a line land on that line; it does not change the 2%/10%/25% thresholds themselves. The EV ≤ 0 test carries the same tolerance.12-下注规模算法.md》v1.0 (domestic machine /opt/inventory/econ_algorithms/12-下注规模算法.md, 161 lines, read-only): the start conditions K1–K6 = §3; EV / Kelly / smallest-of-three / the five bands / circuit-breakers / record discipline = §4 Step1–Step6; preparation list and first step = §5.2 / §5.3; hard rules = §6. The literature citation appears only in §1 (Kelly 1956, Bell System Technical Journal, DOI 10.1002/j.1538-7305.1956.tb03809.x).EV = p×赢 −(1−p)×输, b = 净收益 ÷ 净损失, f_full = (b×p−q)÷b, f = f_full×0.25~0.5, the smallest of three min(f, 资金 5%, 睡得好上限), the five band lines (≤0 / <2% / 2–10% / 10–25% / >25%), the circuit-breakers (3 losses in a row / 15% cumulative) —— every one of these matches §4 Step1–Step6 line by line.p=0.55, win and loss both 1 → b=1, f_full = (1×0.55−0.45)÷1 = 0.10 → should land in 🟢 standard with a suggested range of f = 0.025~0.05; with disposable funds 10000 and a sleep-well ceiling of 600, the smallest of three gives an actual stake of min(250, 500, 600) = 250. Change p to 0.65 → f_full = 0.30 > 25% → should land in ⚠️ caution.No downstream slices yet.
/opt/slices_build/build.py from the spec /_shared/slices/bet-sizing.json — to change this page, edit the spec and re-run the generator; never hand-edit the HTML.