> ## Documentation Index
> Fetch the complete documentation index at: https://docs.b3os.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Hyperliquid Price Alert

Triggers when a Hyperliquid perpetual market mid price crosses your target. Uses Hyperliquid allMids WebSocket data.

Trigger Markets

Triggers when a Hyperliquid perpetual market mid price crosses your target. Uses Hyperliquid allMids WebSocket data.

## At a Glance

| Field | Value |
| --- | --- |
| Trigger ID | `hyperliquid-price-alert` |
| Category | Markets |
| Tags | `hyperliquid`, `perps`, `price`, `trading`, `alert`, `websocket`, `real-time` |

## Trigger Configuration

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `coin` | `string` | Yes | Hyperliquid perpetual coin symbol \(e.g., BTC, ETH, SOL\) |
| `targetPrice` | `number` | Yes | Target mid price in USDC |
| `operation` | `string` | Yes | Comparison to evaluate against the live mid price |
| `maxTriggers` | `string` | No | Trigger frequency |

## Trigger Result

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `triggeredAt` | `string` | Yes | Timestamp when the price condition was detected \(UTC, RFC3339 format\) |
| `coin` | `string` | Yes | Hyperliquid coin symbol |
| `price` | `number` | Yes | Current Hyperliquid mid price |
| `condition` | `object` | Yes | - |

## Workflow Root Example

```json
{
  "nodes": {
    "root": {
      "type": "hyperliquid-price-alert",
      "payload": {
        "coin": "example-coin",
        "targetPrice": 1,
        "operation": "cross-up"
      },
      "children": [
        "log_event"
      ]
    },
    "log_event": {
      "type": "log",
      "payload": {
        "message": "Triggered at {{$trigger.triggeredAt}}"
      },
      "children": []
    }
  }
}
```

**Reference trigger output**

Downstream nodes can use `{{$trigger.triggeredAt}}` and any result fields listed above. Event triggers usually expose the raw source payload under a field such as `event`, `body`, `trade`, or `raw`.