set_take_profit
Set a take profit order for an existing position on HyperLiquid, locking in gains at a specified price. Input the coin and target price; position size is optional and auto-detected.
Instructions
Set ONLY a take profit order for an EXISTING position
Args: coin: Trading pair (e.g., "BTC", "ETH") - must have an existing position take_profit_price: Take profit price position_size: Position size (will auto-detect from existing position if not provided)
Note: This is specifically for setting ONLY take profit on EXISTING positions. Use set_take_profit_stop_loss if you want both TP and SL, or place_bracket_order for new positions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coin | Yes | ||
| position_size | No | ||
| take_profit_price | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||