Skip to main content
Wheelman is an open-source bot, command line and local MCP server for Knockout and Minute. It runs on your machine, with your wallet and your RPC endpoint. It is built on the SDK, @rekt-trading/1000x. Source and full reference: the Wheelman repository. License: Apache-2.0.

What it does

Every command takes -o json and prints one line: {"ok": true, "data"} or {"ok": false, "error": {"category", "code", "message", "retryable"}}. See Error handling. The bot comes with five strategies (knockout-momentum, knockout-fade, knockout-straddle, minute-trend, minute-schedule) and a template for your own. Every parameter has a default and a bound. The defaults are starting points, not recommendations.

Your wallet, your keys

  • Wheelman holds no funds and hosts nothing. Your wallet signs, or a session key you authorise does.
  • Agents trade with a session key, never with your wallet. wheelman session start --allowance 20 --expires 24h authorises a new key to spend at most the allowance, in USDC, until the expiry. The program enforces both. wheelman session end revokes it. See Session keys.
  • Risk limits apply before every open, from the bot, the command line or an agent: the largest stake, the most open positions, a daily loss stop and a minimum balance. Wheelman does not trade without a daily loss stop. A close is never blocked.
  • --paper simulates fills and sends nothing. --dry-run builds and simulates the real transaction on mainnet and sends nothing. A paper result does not say what live trading pays.

Install

Wheelman needs Node 22.18 or later. The SDK alone needs Node 20.19 or later, or Node 22.12 or later.
To run from source instead, clone the repository and run npm install && npm link in it.

Use it from an agent

The MCP server serves markets, preview, positions and session_status. With a session key it adds open and close, signed by the session key. With --paper it adds them as paper-only. It never signs with the owner’s key.
agent.env holds RPC_URL, OWNER, SESSION_KEYPAIR_PATH and the risk limits, and no owner key. The repository also has a skill file for agents, skills/wheelman/SKILL.md, and the setup for Codex and Cursor: README.