Spectra
Browse docs

vps

VPS kill switch

How to pause the cloud worker independently of the desktop kill switch.


The cloud worker has its own kill switch in the web app (app.spectraterminal.com/worker). Pressing it does the same thing the desktop kill switch does on your machine, but on the worker side:

  • Pauses every active webhook secret.
  • Cancels any in-flight broker submissions.
  • Disables new webhook acceptance until manually unlocked.

Why a separate switch

The desktop kill switch flattens your live positions. The cloud worker may control multiple accounts (Pro multi-account; Enterprise shared trading). Hitting either one independently is the design — you might want to halt automated trading without flattening manual positions, or vice versa.

Triggering automatically

The worker fires its own kill switch when:

  • A secret's daily-loss cap is breached.
  • The broker connection reports auth_failed repeatedly (usually rotated API key).
  • An admin manually pauses the secret.

Unlocking

Web app → Worker → Resume. You re-confirm the daily-loss cap and any breached secret stays paused until reset individually. Resume is audited — every unlock is logged with timestamp and source IP.

Latency to take effect

A kill switch press propagates to all accepting secrets within < 200 ms typically. If a request was already mid-broker-call when the press happened, that submission may complete; the next one is rejected.