betting_combat.rounds.execution.settings
One strategy’s execution settings (2026-11-08): everything the engine (execution.engine)
and its runners read, in one frozen object - what it may buy, where in the fight, the Kelly and
its caps, the min edge, the limit price’s cushion, sales at the breaks, the in-round decisions
and their clock. The three live strategies and the two paper ones are presets of it
(PRESETS); a grid is dataclasses.replace on one of them.
instruments what it may BUY (``space.INSTRUMENTS``): the break's candidates among them; a distance YES candidate also opens the pair when PR is listedbreaks which breaks it trades (the fight's scheduled rounds): 'all', 'before_last' (every break but the one before the last round, and their rounds), 'last' (that break and the last round only)formats the scheduled rounds it trades (3, 5)kelly the notional W0 = kelly x bankrollcaps per market per decision (``order_cap_pct``), the fight's open cost basis (``fight_cap_pct``), both shares of the bankrollmin_edge a candidate is bought only while P(it pays) - its all-in ask >= min_edgeshade at round_idx 1, min(shade, P(distance)) moved to 'ends later'cushion an order's limit = its decision quote + the cushion (whole cents, up); its contracts are sized at that worst all-insales at the breaks (``sell_at_breaks``: the instruments in ``break_sells``); in-round ``mid_cut`` (below the holding's cost) and ``mid_take_profit`` (at or above)in-round ``mid``: every ``mid_interval_s`` of the round after a traded break (from its start + 60 s, tau < 5:00, before the next round's bell / break, the winner books open), buys of that break's candidates only (``mid_add``); each order at most ``vol_share`` x its market's dollars in the last ``vol_minutes`` minutes (None: no volume cap)clock the in-round chances' clock (``space.Chances.in_round``): 'pooled' (when any finish comes) or 'split' (KOs and submissions apart)Classes
Settings
replace
replace(**change: object) -> Settingstrades_break
trades_break(round_idx: int, sched_rounds: int | None) -> boolWhether this strategy decides at the break after round round_idx of a fight
scheduled for sched_rounds (None: unknown - only ‘all’ trades it).