Start a strategy on a paper box
start_box_strategyStart a strategy on a Hyperliquid paper box: it runs around the clock with no client connected, in simulation only. No key needed, the box URL authorises it, so a trial box from create_ironbox works. kind is breakout (size_usd, lookback_bars, exit_bars, bar_seconds), grid (lower_px, upper_px, grids, size_usd) or dca (tranche_usd, budget_usd, dip_pct, interval_minutes, take_profit_pct, repeat). Every kind needs market and max_loss_usd: when the net loss reaches it, the strategy closes its position and stops. At most 3 per box, one per market. Follow it with get_box_activity.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"box": "<box>",
"kind": "<kind>",
"market": "<market>",
"max_loss_usd": "<max_loss_usd>"
},
"name": "start_box_strategy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| box | Yes | The paper box: its base_url from create_ironbox, or the ibxs_ secret | |
| kind | Yes | Which strategy | |
| side | No | breakout: long, short or both (default both). grid and dca: long (default) or short | |
| grids | No | grid: rungs, 2 to 25, default 10 | |
| market | Yes | A live main perp, by display symbol or Hyperliquid name, e.g. BTC-PERP or BTC | |
| repeat | No | dca: start a new cycle after a take profit | |
| dip_pct | No | dca: move against the last entry that buys the next tranche, default 3 | |
| leverage | No | Cross leverage on this market, default 3 | |
| lower_px | No | grid: bottom of the ladder | |
| size_usd | No | breakout: notional of each entry. grid: total across the ladder, at least 10 a level | |
| upper_px | No | grid: top of the ladder | |
| exit_bars | No | breakout: exit channel, default half of lookback_bars | |
| budget_usd | No | dca: total notional across the cycle | |
| bar_seconds | No | breakout: 60 (default), 300 or 900 | |
| tranche_usd | No | dca: notional of each entry | |
| max_loss_usd | Yes | Net loss in USD that stops the strategy (required) | |
| lookback_bars | No | breakout: entry channel, 5 to 120 bars, default 20 | |
| take_profit_pct | No | dca: close the stack at this gain on the average entry | |
| interval_minutes | No | dca: also buy a tranche after this long |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paper | No | true | |
| notice | No | Present when the API added a note: how a market name was read, that data starts later than asked because of the history window, or a next step such as a free key | |
| strategy | No | One strategy on a paper box |