set_hyperliquid_managed_exit
Trailing stop, break-even stop and/or time stop that FortFi keeps on an open perp position. Trailing: a stop trailingStopPct behind the best price since set, moved only toward the price, never away; a tighter stop already on the book (yours, or a copy-trade stop) is kept. With trailStartProfitPct, trailing starts only once the price is that % past your entry price. Break-even: once the price is breakEvenAtProfitPct past entry, the stop moves to the entry price. Time stop: closes the whole position after closeAfterHours; refused on accounts a strategy runs, since the strategy would reopen it. Checked every 5 minutes, so fast moves can pass the trail before it updates; the stop on the book is what protects you between checks. Each change runs through policy and the audit log. Stop moves that only tighten skip co-sign rules; if a co-sign rule would make a close wait for approval, the managed exit stops and says why. Calling again replaces the settings. Needs automated signing (Delegated Access) on human accounts.
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": {
"walletId": "<walletId>",
"symbol": "<symbol>"
},
"name": "set_hyperliquid_managed_exit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | Perp symbol, e.g. BTC or xyz:NVDA | |
| walletId | Yes | ||
| closeAfterHours | No | Close the position this many hours from now. Refused on accounts a strategy runs. | |
| trailingStopPct | No | Percent behind the best price | |
| trailStartProfitPct | No | Start trailing only once the price is this % past the entry price. Needs trailingStopPct. | |
| breakEvenAtProfitPct | No | Once the price is this % past the entry price, move the stop to the entry price |