# Canonical Perps

Canonical perps are HyENA's standard perpetual markets for established assets that have deep liquidity on major centralized exchanges. Examples include BTC-USD, ETH-USD, SOL-USD, and similar blue-chip assets.

### Oracle Price

HyENA re-uses the published oracle prices from Hyperliquid. The oracle price for a canonical HyENA perp (e.g., BTC-USD) matches the oracle price of the corresponding perp on Hyperliquid.

On Hyperliquid, oracle prices are a **weighted median of CEX prices**, updated by validators approximately once every three seconds.

### Mark Price

Canonical perps use the shared 4-component mark price formula.

| Component                          | Input Source                                                                                  |
| ---------------------------------- | --------------------------------------------------------------------------------------------- |
| **1** — Oracle + 150s EMA of basis | Oracle = Hyperliquid canonical oracle; Mid = HyENA DEX mid-price                              |
| **2** — DEX book median            | `median(best_bid, best_ask, last_trade)` on HyENA                                             |
| **3** — External perp median       | Weighted median of Binance, OKX, Bybit, Gate.io, MEXC perp mid-prices (weights 3, 2, 2, 1, 1) |
| **4** — 30s EMA of Component 2     | Included only when fewer than 3 main components are present                                   |

The final mark price is the **median** of all available components.

### Funding Rate

Standard Hyperliquid funding rate calculation. No dampening is applied.

### Special Conditions

None. Canonical perps follow the same behavior as their Hyperliquid counterparts with HyENA's own DEX book data substituted into the mark price formula.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.hyena.trade/pricing/canonical-perps.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
