Skip to content
Get ProGet Pro

Quickstart in paper mode

Install Guard, load your rules, and point a bot at it in paper mode. Paper mode uses Hyperliquid's real prices and sends no orders.

Paper mode is the rehearsal path you can choose before enabling real orders. It reads Hyperliquid’s real prices and your real account, judges every order with the same rules, and records what it would have done. It sends nothing to Hyperliquid’s /exchange endpoint.

Run Guard on the machine where your bot runs: the setup detects your system (macOS, Linux, Windows or Docker). A server you reach over SSH is the other way. The setup carries the rules you set on this site (Backtest, Watch or the homepage), stored in your browser as a rules code that starts with zr1_; otherwise the defaults. Select paper in the setup below for this walkthrough. Mainnet setup is a separate explicit choice with host activation steps.

stored only in this browser · ·

Your settings from this site

The default rules. Set your own on the playground, or paste a rules code.

  • 5× max
  • 2% at stop
  • no stop: Guard sets one 2% away
  • liq. ≥ 10%
  • size ≤ 200%
  • open ≤ 6%
  • daily 6%
  • drawdown 25%
  • 5/5 markets
  • mainnet setup
Prepare Guard for
Mainnet setup asks for your account, equity cap and hidden API-wallet key on your machine. Starting it is a separate confirmation. Paper needs no key and sends no orders.

Where Guard runs

Next to your bot: run the command on the machine where your bot runs. If that is a server you reach over SSH, pick “On a server”.

Other ways to run it: On a server (SSH) · AWS cloud · Packages · Docker.

Your system
Detected from this browser; pick another if your bot runs elsewhere.

Guard listens on 127.0.0.1:8547 only, on this machine. Every command here matches the release (zunder-guard v1.0.2).

Your account. Your keys stay with you.

Only public addresses go here. Paper needs no private key; for testnet and mainnet, enter your API wallet key on the machine running Guard.

Public values: checked in this browser

Preview the guided setupIllustration · not a running Guard
this machine · what the setup asks
v1.0.2: installation channel unavailable. No installation or activation has run.Selected mode: mainnet. Prepare your public account and rules while publication is verified.

Run this where your bot runs

One command with your rules, on this machine. It installs Guard after checking the release’s signature and asks you the rest here.

terminal
# v1.0.2 installation channel is not published or verified yet.# Selected mode: mainnet. Keep preparing your rules; installation is disabled.

Hover or focus a part of the command to see what it does.

Check it, then point your bot at it

On the machine where Guard runs:

curl -fsS http://127.0.0.1:8547/healthz# {"status":"ok"}: Guard is upcurl -fsS http://127.0.0.1:8547/guard/status# version, mode, network, account and state, read-only

The default rules are: 5x leverage, 2% loss at the stop, no stop: Guard sets one 2% away, liquidation at least 10% away, a position at most 200% of equity, 6% open risk, 6% daily loss stop, 25% drawdown halt, all markets. The format is on Rules codes.

The setup prints a client key for your bot. The client key is not your API wallet key. Hyperliquid does not accept it. Only your Guard does. Guard listens on http://127.0.0.1:8547, on your machine only.

One setting changes: the API URL. The private key becomes the client key the setup printed.

from eth_account import Account
from hyperliquid.exchange import Exchange
client_key = Account.from_key("0x...") # the client key Guard printed
exchange = Exchange(client_key, base_url="http://127.0.0.1:8547",
account_address="0xYourAccountAddress")

Guides for ccxt, Freqtrade, the TypeScript SDK, MCP and TradingView are under Integrations.

3. Confirm paper mode, then send a request

Section titled “3. Confirm paper mode, then send a request”

First check /guard/status reports "mode":"paper". Only then send one order your bot would normally send. In paper mode the answer your bot gets says what Guard would have done: Zunder Guard paper mode: would resize [resized]: … (nothing was sent). To see Guard’s state and its decisions:

Terminal window
curl -s http://127.0.0.1:8547/guard/status # mode, risk state, positions, alerts
curl -s 'http://127.0.0.1:8547/guard/events?since=0' # every decision, with its rule and code

You see the decision (allow, resize or veto), the rule that decided, and what would have been sent. Nothing reached Hyperliquid, because this is paper mode. The fields are listed in Events.

If you bought Pro, activate the emailed licence and verify its status on this installation. You can check activation in paper mode before changing networks.

  • Testnet sends orders with test funds. Use it to check exchange execution and resting stops.
  • Mainnet uses real funds. The mainnet installer sets up a managed service on macOS, Windows, Linux systemd or Docker on native Linux. Account confirmation, API wallet, equity cap, journal admission and explicit start remain required.

AWS provisions in paper mode first; use its private host shell for activation. Guard never promotes a paper or testnet installation automatically. Keep this rehearsal’s state separate from your mainnet journal.

Activate mainnet · Network details

This page as plain Markdown, for people and LLMs: /docs/start/quickstart.md