Live operations¶
The four checklists a live window is run by. This page is not the plan
(Roadmap) and not the method (Tools); it is what an
operator or a fresh session does, in order, with the command that does it. Every
command below exists in tools/ops/; a command that is not on this page is not
part of a standard action.
Before the open (T-15 minutes)¶
| check | command | what a pass looks like |
|---|---|---|
| the tree itself | bash tools/ops/tq.sh status |
HEAD and the handoff agree, queue: 0, roots ok, registry 0 uncovered, live template: ok |
| every seat on the host | bash tools/ops/dispatch_deploy.sh run --ops seats |
one line a seat: ceiling, both ports, the unit, the ceiling sum against the equity |
| this seat's pair | bash tools/ops/dispatch_deploy.sh run --ops status --seat <seat> |
the seat's unit active, NRestarts=0, [RECON] ... status=ok |
| would it start | bash tools/ops/dispatch_deploy.sh run --ops seat-probe --seat <seat> |
the last [START] step=... is the session line; the probe refuses inside 13:25-15:35 UTC by design |
| the venue's band | the probe's own line | the book's mid inside the venue's price band, not at its edge |
The one failure this checklist exists for: a seat quoting the production book at a venue whose band belongs to another market. Every placement comes back
sCode=51006, the fill column stays empty, and the journal is the only place it says why. Read the band before the open, not at the close.
After the close (T+10 minutes)¶
| step | command | what it must reconcile |
|---|---|---|
| the window's row | bash tools/ops/dispatch_deploy.sh window |
submissions, cancels, post-only declines, rate-limited, refresh and pause counts |
| the day's record | bash tools/ops/dispatch_deploy.sh record --since <ISO> --until <ISO> |
fills, fees, the post-only split, the round trip's p50/p90/p99 |
| the report | bash tools/ops/dispatch_deploy.sh run --ops report --at <ISO> |
the ledger row's window_start_utc names the window the record spans |
A window whose record is empty is a finding, not a quiet day: --ops orders
--seat <seat> prints the record's counts by kind and by reason.
Promoting a profile or a new instrument¶
- Put the profile in the tree:
profiles/<instrument>_v1.yaml. - Check it with
tools/gate/check_params.pyat the cell's own price, sigma and equity; the couplings it enforces are the overshoot, the stop clamp, the burst and the two pause rulers. - Write the seat's two files with
--ops seat(it renders the config and the env, refuses a port collision, an instrument that is not a venue perpetual, and a ceiling above the template's). - Start the pair with
--ops seat-start --seat <seat>and read its last ten journal lines. - Enable the timer last, and only after the probe above passed. Between
windows
deploy/activate.shstarts nothing: the window timer starts the session.
Emergency halt¶
| step | command | the state it leaves |
|---|---|---|
| stop the seat | bash tools/ops/dispatch_deploy.sh run --ops stop --seat <seat> |
the engine answers SIGTERM by cancelling what it holds; the action then prints the position it left |
| close what is left | bash tools/ops/dispatch_deploy.sh run --ops flatten --seat <seat> |
one reduceOnly market order per open side, then the position and the equity |
| read the record | bash tools/ops/dispatch_deploy.sh run --ops orders --seat <seat> |
the last rows with their refusal reasons, which is the evidence the halt decision is made on |
A halt is an action by a person. Do not restart the seat by hand to "see if it works"; a restart inside a window starts a second session with its own
[RECON]and splits one day's record into two.