Skip to content

Releases: LuciferForge/quant-rollout

v0.1.0 — Initial release

28 Apr 14:55

Choose a tag to compare

First public release of quant-rollout.

Staged-deployment toolkit for live trading bots. Gates, kill switch, veto window, persistent state machine. Pure stdlib core, zero runtime dependencies.

26 tests including end-to-end state machine simulation walking all transitions: NOOP → VETO_OPEN → VETO_EXPIRED → KILL_TRIPPED → recovery.

PyPI: https://pypi.org/project/quant-rollout/0.1.0/

from quant_rollout import Stage, Gate, KillSwitch, Rollout

rollout = Rollout(
    stages=[Stage(0, baseline_params), Stage(1, canary_params, gate=Gate(min_n=50, min_win_rate=0.6))],
    kill_switch=KillSwitch(wr_lookback=30, wr_threshold=0.55),
    state_path='~/.bot/rollout_state.json',
    veto_window_seconds=1800,
)
decision = rollout.tick(my_recent_trades)