Hyperliquid Stop Loss logo

Catalog action Hyperliquid wallet

Place a stop-loss trigger order on Hyperliquid perpetual DEX. Automatically detects position direction and places a reduce-only market trigger order at the specified price. When the mark price reaches the trigger price, a market order executes to close the position. Ideal for: risk management, capital preservation, and automated loss limits.

This action can require a wallet connector, gas, token movement, or an external side effect. Test with simulation or a controlled amount before using it in a live workflow.

At a Glance

FieldValue
Action IDhyperliquid-stop-loss
CategoryHyperliquid
Connectorwallet
Requires gasNo
Funds movementNone declared
Tagshyperliquid, perps, order, trade, trading

Payload Schema

FieldTypeRequiredDescription
dexstringNoHIP-3 DEX name for TradFi markets. Omit for standard crypto perps. xyz = trade.xyz (stocks, indices, commodities), flx = flx.finance, vntl = vntl.exchange
coinstringYesAsset symbol (e.g., BTC, ETH for crypto; TSLA, SP500 for HIP-3 DEX markets)
triggerPricestringYesPrice at which to trigger the stop-loss order. For long positions this should be below the entry price; for short positions above.
sizestringNoPosition size to close in asset units (e.g., '0.1' for 0.1 BTC). Defaults to full position size if omitted.
reduceOnlybooleanNoIf true, order can only reduce an existing position (default: true)

Result Schema

FieldTypeRequiredDescription
statusstringYesOrder outcome: resting (trigger order placed on book, waiting for trigger price)
oidnumberNoHyperliquid order ID
coinstringNoAsset symbol
sidestringNoOrder side (buy to close short, sell to close long)
triggerPricestringNoTrigger price set for the order
requestedSizestringNoSize of the stop-loss order
positionSidestringNoDetected position side (long or short)

Examples

json
{ "type": "hyperliquid-stop-loss", "payload": { "coin": "example-coin", "triggerPrice": "example-triggerPrice" }, "children": [], "connector": { "type": "wallet", "id": "conn_wallet" }}

Payload fields can use workflow expressions such as {{$trigger.body.amount}}, {{$nodes.fetch.result.price}}, and {{$props.asset}} when the value should come from a trigger, prior node, or reusable workflow prop.

Ask a question... ⌘I