← cd ../strategies
liverisk: high#27

copy

Mirror any public trader onto your own account — with your key and your guardrails.

commands

deliverator copy 0xLEADER # read-only: print the diff, place nothing

deliverator copy 0xLEADER --scale equity --max-leverage 5

deliverator copy 0xLEADER --execute --yes # route the surviving legs

Copy-trading, the non-custodial way. A copy (mirror) command reads a leader’s public on-chain perp book by address, scales it to your account, diffs it against your current positions, applies your risk guardrails, and either prints the plan or executes it.

You mirror onto your own account, with your agent key and your caps — the one thing a copy-trading vault can never give you.

How it works

  1. Read the leader’s public positions (any address — no permission needed).
  2. Scale to your equity: equity-proportional by default (match their position-as-%-of-equity), or a fixed fraction.
  3. Diff vs. your current book and classify each leg: open · increase · decrease · close · flip.
  4. Guard. Clip-or-skip against --max-leverage, min liq-distance, the coin allowlist, per-coin notional, and an aggregate book-gross cap.
  5. Emit or execute. Default prints the diff and places nothing. --execute (with --yes) routes the surviving legs through the same guarded buy/sell/close path — one cloid per leg, timeout-safe.

Diff-first, execute-second: the gap and the risk math are deterministic in the binary; you (or your agent) decide whether and how to close it. Mirroring never bypasses a cap.

Honest framing

Copying is buyer-beware. You see a leader’s winners with survivorship bias, you always trade later and at worse fills, and inherited leverage can liquidate a small follower the leader would shrug off. The guardrails exist precisely because blindly mirroring size is how followers get hurt — --max-leverage is your single most important defense.

Perps only for v1; spot is out of scope. The full spec — scaling math, leg classification, and the safety guardrails — is on GitHub.

HUMAN MACHINE