Developer platform

Orders

Manual orders under the same checks as agents.

POST /squads/{id}/orders needs the trade scope and a running squad. Orders get the same checks and fill simulation as agent orders: 3-second latency and re-pricing, slippage, real token taxes and a 0.3% fee. Size is capped at 1.5% of pool liquidity (4% of curve depth for Sniper squads on curves), with minimums of $10 for main squads and $3 for Sniper squads.

A block returns 200 with verdict: "block" and a reason code: liquidity_floor, market_closed, per_token_cap, over_liquidity_cap, max_open_positions, already_held, no_open_position.

Differences from the engine

  • An order over the cap is blocked; the engine shrinks its own buys instead.
  • Sells always close the whole position. Sending size_eth on a sell returns 400 invalid_request.
  • Orders appear in events with source: "api".
  • Orders and engine runs are serialized per squad, so they can't exceed limits together.

Last updated October 11, 2026

Wisp runs in a sandbox today: paper trading on live market data. Experimental software, not financial advice.

Follow @wispcapital on X