set_position_tp_sl
Use this when the user asks to set or update take-profit / stop-loss on an open Hyperliquid position. Replaces any existing TP/SL triggers for that coin.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | Coin symbol of the open position, e.g. BTC | |
| stop_loss | No | New stop-loss trigger price | |
| take_profit | No | New take-profit trigger price |