Re-sync TP/SL orders to position size
resync_protectionRe-sync the take-profit / stop-loss orders on one of YOUR agent-wallet positions to the position's current size (requires the api:trade scope) — the Gambit app's Manage-position re-sync, used after a position was resized. It rescales the EXISTING TP/SL orders: it does not set new prices, does not add TP/SL to a position without them, and does not change the position. It cancels and re-places those orders on Hyperliquid, so call it only when the user asks. symbol must be a position the agent wallet holds (404 otherwise). An error carries the venue's reason.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes |