Skip to content

betting_combat.rounds.live.noko

The ‘no KO’ strategy (2026-10-26): Kalshi’s ‘ends by KO/TKO/DQ’ market, its NO side, priced by the primary model - the joint execution’s rules (live.joint) on one market with two outcomes (a KO from here, or not). Pure, as live.joint: the backtest (backtest.noko) runs it, and the card run will once the strategy has its row (it trades on the primary’s KO chances).

p P(no KO from here) = 1 - the primary's fight-from-here KO chance at the break; in
the round after it, with no finish t seconds in (``MethodClock``: when in a round
KOs and submissions come):
P(KO from here) = [K (1 - F_ko(t)) + KO later] / (1 - K F_ko(t) - S F_sub(t))
(K, S: the primary's KO / submission chance for this round; KO later: its KO
chance in the rounds after)
the trade log-wealth Kelly on the two outcomes: wealth = kelly x the bankroll + the fight's
cash + the holding's payoff; each decision re-solves the position given what is
held - buy more, hold, or sell (a buy at the ask + slip + Kalshi's fee, a sale at
the bid - slip - fee)
gates a buy only if p - the all-in ask >= the min edge (in the round: only if the market
was a candidate at the break); each order <= the order cap (at the limit's worst
all-in, ask + cushion); the open cost basis <= the fight cap (a sale frees its
share); in the round a sale only below the holding's cost (a cut)

Research: data/ufc/cito/assess/exec/b07_noko.py (the breaks), b08_noko_inround.py (the round), reproduced exactly (tests/primary/test_noko_parity.py). Kalshi’s KO option includes disqualifications (a DQ settles it YES); the primary’s KO does not (DQs are ~0.3% of fights).

Classes

MethodClock

F_m(t): the share of method m’s finishes (KO/TKO, submission) inside a 5-minute round that came by t seconds, per round group 1, 2, 3+; t = 0..300 (joint.FinishClock split by method).

at

at(method: Method, round_no: int, tau_s: float) -> float

fit

fit(bouts: pd.DataFrame, before: object) -> MethodClock

From features.RawData.bouts (kind, finish_round, finish_secs, date, the 5-minute round test round_len_ok): every KO/TKO or submission inside a 5-minute round of a bout dated before before. ValueError when a method has no finish in a round group (a fixture: never production’s).

NoKoHolding

One fight’s position: NO contracts held, the cash spent / received, the open cost basis.

apply

apply(n: float, c: float, q: float) -> None

Buy n > 0 at all-in c or sell -n at net q.

pnl

pnl(no_ko: bool) -> float

NoKoRule

Functions

best_trade

best_trade(p: float, h: NoKoHolding, ask: float, bid: float, rule: NoKoRule, can_buy: bool, max_buy: float, max_sell: float, cut_only: bool) -> tuple[float, float, float]

(contracts to buy > 0 / sell < 0 / 0, all-in per contract bought, net per contract sold): the position that maximises p log W_no_KO + (1 - p) log W_KO under the gates, in whole contracts rounded toward none (as the research: a bound that binds can leave one short, the bounded search stopping just inside it). ask / bid: the NO side’s; max_buy / max_sell: the depth or volume room.

p_no_ko

p_no_ko(k_round: float, s_round: float, ko_later: float, clock: MethodClock | None = None, round_no: int = 1, tau_s: float = 0.0) -> float

P(no KO from here): at the break (no clock), or tau_s seconds into round round_no with no finish yet. k_round / s_round: this round’s KO / submission chance; ko_later: the KO chance in the rounds after.