[ guide ]
Crypto Paper Trading: A Sandbox for Agent Builders
Last updated: November 2026 · 6 min read
Use the sandbox to test the policy, the refusals and the integration — not to predict returns. The same Agent API moves to live when the owner approves the trading-only wallet.
What paper trading is
Paper trading uses real market data and simulated money. The agent scans, decides and “fills” without a live order. For a builder, this is the integration environment: it exercises auth, policy, order payloads, fills and the refusal path without risking a budget.
Protocol Bank's sandbox is the same Agent API. Paper and live share the endpoints; the difference is the account mode and the wallet approval.
What to test before going live
Do not just watch PnL. Test the parts that only fail under stress.
- A valid order below the cap returns a fill and remainingTodayUsd.
- A size above the key cap returns 403 before the venue; the agent cannot widen the policy.
- A second order on a held market returns 409; the refusal is final.
- A daily breaker trip changes the account state; resume/stop controls behave as expected.
- The usage log and receipt match the calls the agent made.
Going live without changing the code
When the integration behaves, the owner approves the Hyperliquid agent wallet with trading-only rights. The same endpoints now execute live. The wallet can place and cancel orders, never withdraw; the policy still caps every call.
Keep the first live budget small. Paper trading is not a promise of live results: fills, funding and slippage differ, and the strategy can still lose.
Paper trading for agent platforms
For a platform, the sandbox is also the demo: each new agent can start in paper mode, show the owner the policy and the refusal path, then graduate to live when the owner approves the wallet. No separate environment to maintain.
[ build with it ]
One API key per agent, server-enforced caps, a trading-only wallet and audit receipts. The cockpit is a demo; the Agent API is the product.
For agents: /llms.txt · /.well-known/agent.json · /api/agent.openapi.json
FAQ
Is paper trading the same as live trading?
No. It uses real market data and simulated fills; funding, slippage and live venue behaviour differ. It is the integration and policy test, not a prediction of returns.
Does paper trading need a funded wallet?
No. The sandbox account runs with simulated money. You create a key and call the same endpoints; the cockpit is a demo of that account.
How do I switch an agent to live?
The owner approves a Hyperliquid agent wallet with trading-only rights. The same Agent API calls then execute live, still under the key policy and platform risk envelope.
Educational content, not financial advice. Read the Risk Disclosure before enabling live mode.

