Hyperliquid Oil and Gold Perps: Guide for Traders & Builders
How Hyperliquid oil and gold perps work: which HIP-3 DEXs list them, how oracles track futures and spot, rolls, funding, and where to get the data.

Hyperliquid oil and gold perps are 24/7, USDC-margined perpetual futures on crude oil and gold, listed by HIP-3 deployer Trade[XYZ] as xyz:CL (WTI crude), xyz:BRENTOIL and xyz:GOLD. They never expire and trade beside silver, copper, natural gas and other commodities.
Unlike traditional futures, these on-chain perps rely on deployer-submitted oracles, 1% mark-move clamps, weekend discovery bounds and isolated-only margin on several markets. Gold tracks XAU/USD spot directly, while oil follows a futures contract that rolls every month.
Traders can act on Saturday news or weekday futures breaks from the same wallet as their crypto trades. Builders get public on-chain fills, order books and deployer oracle prices for dashboards, roll research and backtests.
For the live market list, leverage limits, isolated-margin checks and code outputs behind this guide, see Test and Validation.
Hyperliquid commodity perps at a glance
Hydromancer's Reservoir archive describes four deployers as listing "indices, equities, and commodities". Only one still runs a broad commodity list.
| DEX (prefix) | Commodity markets in the sources | Status |
|---|---|---|
Trade[XYZ] (xyz) | GOLD, SILVER, PLATINUM, PALLADIUM, COPPER, CL, BRENTOIL, HO, NATGAS | Active |
Markets.xyz (km) | km:USOIL, km:GOLD(Reservoir examples) | Delisted (its deployer now runs BVIV on a separate DEX) |
Dreamcash (cash) | Gold, silver and oil, e.g. cash:SILVER | Wound down June 2026 |
Felix (flx) | Metals and energy, e.g. flx:COPPER | Wound down June 2026 |
Deployers add and delist markets frequently, so pull the live list with the script below before relying on static names. Outside Trade[XYZ], every gold, silver and oil market on other HIP-3 DEXs was marked delisted.
Two tickers differ from their display names on Trade[XYZ]: xyz:CL is WTI crude (displayed as WTIOIL), and xyz:HO is New York Harbor ultra-low sulfur diesel (displayed as DIESEL).
For deployer volumes, see Top HIP-3 Market Deployers by the Numbers. Wound-down DEXs still matter for research: Reservoir keeps their full history, so you can study cash: or flx: oil trades from before delisting.
Find every live commodity market with two requests
Hyperliquid tags perpetual markets by category across every HIP-3 DEX. The native perpCategories request returns [coin, category] pairs, and Hydromancer's docs list "commodities" as one of the categories.
# Expected output: live commodity tickers, e.g. xyz:GOLD, xyz:CL, xyz:SILVER
import requests
URL = "https://api.hyperliquid.xyz/info"
def info(body):
r = requests.post(URL, json=body, timeout=10)
r.raise_for_status()
return r.json()
pairs = info({"type": "perpCategories"})
live = {a["name"] for m in info({"type": "allPerpMetas"})
for a in m["universe"] if not a.get("isDelisted")}
print(sorted(c for c, cat in pairs if cat == "commodities" and c in live))That script returned nine live commodity markets, all on xyz: BRENTOIL, CL, COPPER, GOLD, HO, NATGAS, PALLADIUM, PLATINUM and SILVER.
Because perpCategories also includes delisted contracts, the code keeps only names that allPerpMetas marks live. A market with no category tag won't appear at all, so cross-check against the DEX's universe from meta with "dex": "xyz".
How Hyperliquid oil and gold perps work
HIP-3 (Hyperliquid Improvement Proposal 3) lets a team that stakes HYPE run its own perp exchange on Hyperliquid. While Hyperliquid's main DEX lists crypto, HIP-3 deployers pick commodity markets and supply their prices.
Roughly every 3 seconds, a deployer sends a setOracle action containing oracle prices, mark price inputs and external perp prices for its DEX. Hyperliquid takes the median of the deployer's mark inputs and the local order-book mark, clamping each mark move to 1%.
What the deployer feeds into that oracle is where gold and oil split.
Gold tracks the XAU/USD spot price
xyz:GOLD references the USD spot price of one troy ounce of gold (XAU/USD). Silver, platinum and palladium work the same way because each has a liquid spot market.
Gold has no monthly roll, so xyz:GOLD tracks XAU/USD directly whenever outside prices are flowing.
Oil tracks a futures contract, not a spot price
WTIOIL (xyz:CL) references one barrel of WTI Light Sweet Crude from a designated futures contract, and xyz:BRENTOIL does the same for Brent crude.
Trade[XYZ]'s docs explain that industrial metals and energy lack a spot market like gold, so the oracle follows designated futures contracts. Copper, natural gas and diesel work the same way.
The oil oracle rolls to the next contract every month
A futures-based oracle has to shift from one contract month to the next. Trade[XYZ]'s docs describe a gradual roll from the 5th to the 10th business day of each month.
On the 5th business day, the oracle is 100% the front contract. Each day after, about 20% shifts to the next contract until the 10th is 100% the next contract.
That roll changes how xyz:CL behaves relative to outside charts:
• If the next contract trades at a different price (contango or backwardation), the oracle drifts toward it during the roll even if neither contract moves.
• A chart of xyz:CL won't match a front-month WTI chart around roll dates.
• Backtests comparing xyz:CL with outside oil prices need the exact dates from Trade[XYZ]'s Roll Schedules page, which lists every contract reference and roll window.

Oil and gold pricing on weekends and outside futures hours
Underlying oil and gold markets close on weekends, futures holidays and a Monday-to-Thursday 5 to 6 PM ET break. Trade[XYZ] keeps trading 24/7, using outside prices from Sunday 6 PM ET to Friday 5 PM ET (6 PM for BRENTOIL).
When outside feeds pause, the oracle moves by an exponential moving average (EMA) of the gap between order-book impact prices and the last oracle price, with a 30-minute time constant. When outside prices return, it jumps back on the next tick.
Two guardrails cap how far internal pricing can move:
• Discovery bounds: the mark price stays within plus or minus 1/(max leverage) of a reference price, or about 5% at 20x.
• Re-anchoring: as the oracle nears that bound, the reference shifts to the bound up to a per-market reset limit, after which it holds as a hard cap until outside pricing returns.
Weekend oil and gold prices are therefore set by traders on Hyperliquid's order book inside a bounded range. Hydromancer's weekend pricing analysis covers equities, and the same mechanics apply here.
Hourly funding and deployer parameters
Funding is paid every hour between longs and shorts, with each HIP-3 deployer setting the funding multiplier, interest rate and clamp per asset. Trade[XYZ]'s docs list a 0.5 funding multiplier and a 0.01% interest rate per 8 hours for commodities.
Funding payments use the oracle price, not the mark price, to turn position size into notional value. See the Hyperliquid funding rates guide for the full formula.
Maximum leverage by commodity market
Each HIP-3 deployer sets maximum leverage per market. Trade[XYZ]'s docs list three tiers across its commodity pairs:
| Market | Max leverage |
|---|---|
| GOLD, SILVER | 25x |
| WTIOIL (CL), BRENTOIL, PLATINUM, PALLADIUM, COPPER | 20x |
| NATGAS, DIESEL (HO) | 10x |
Deployers can change these limits at any time, so the live maxLeverage field in meta is what governs your position.
How commodity perps differ from Hyperliquid stock perps
If you already follow Hyperliquid stock perps, four mechanics change with commodities:
• Reference instrument: equities track a stock or index, whereas oil tracks a rolling futures contract where roll-period drift is normal.
• Session hours: commodities follow futures hours (Sunday 6 PM to Friday 5 PM ET, with a daily 5 to 6 PM ET break) instead of US stock regular or 24/5 sessions (Sunday 8:05 PM to Friday 8:00 PM ET).
• Higher listed leverage: Trade[XYZ] lists gold and silver up to 25x, above most single stocks.
• No corporate events: there are no earnings or dividends, so price gaps come from macro news, supply shocks and weekend closures.
For the equity side, see Hyperliquid Stocks: How ORCL, NVDA and Equity Perps Work.
How to get Hyperliquid oil and gold data
On a centralized exchange, trades and index prices stay on internal servers. On Hyperliquid, every order, trade, liquidation and deployer oracle submission is recorded on-chain, so you can verify the exact oracle price at any block and rebuild commodity histories yourself.
Live prices, funding and open interest with Hyperliquid's API
Start with Hyperliquid's public API if you only need live state. It is free, requires no API key, and calling metaAndAssetCtxs with "dex": "xyz" returns every Trade[XYZ] market's current mark price, oracle price, funding rate and open interest.
That endpoint returns current snapshots only. For backtests, historical fills or past oracle rounds, you need a historical data source.
Trades, candles and order books by day with Reservoir
Reservoir, Hydromancer's free S3 archive, stores each HIP-3 DEX in its own folder with fills, 1-second candles, daily position snapshots and 1-minute order books. Trade[XYZ] fills go back to October 13, 2025, and order books go back to December 15, 2025.
Because Reservoir keeps one row for each side of a trade, filtering on the taker row (crossed) sums a day of gold and oil volume once:
-- Expected output: one row per market with USD volume and trade count
INSTALL httpfs;
LOAD httpfs;
CREATE OR REPLACE SECRET (TYPE s3, PROVIDER credential_chain,
REGION 'ap-northeast-1');
SET s3_requester_pays = true;
SELECT coin, sum(price * size) AS volume_usd, count(*) AS trades
FROM read_parquet('s3://hydromancer-reservoir/by_dex/xyz/fills/perp/all/'
|| 'date=2026-11-16/fills.parquet')
WHERE coin IN ('xyz:GOLD', 'xyz:CL', 'xyz:BRENTOIL') AND crossed
GROUP BY coin
ORDER BY volume_usd DESC;For that day's file, the query returned three markets over $100 million in daily volume: xyz:BRENTOIL at about $121.7 million (55,499 trades), xyz:CL at about $108.8 million (58,316 trades) and xyz:GOLD at about $107.6 million (22,695 trades).
Reservoir uses AWS requester-pays, so you need an AWS account with credentials configured and pay AWS transfer charges, with no Hydromancer key required.
Order-book files omit the prefix, so gold's book for a day is GOLD.parquet under by_dex/xyz/orderbook/1m/perps/date=YYYY-MM-DD/. The Trade[XYZ] historical data page lists every path.
Oracle and mark price history with Hydromancer's API
Reservoir does not include oracle prices. Hydromancer's perpPriceHistoryByTime returns the oracle and mark prices the network accepted, one row per oracle round, for up to 20 markets per call.
This endpoint requires a paid API key read from HYDROMANCER_API_KEY. The script below pulls the last 4 minutes of rounds for xyz:GOLD and xyz:CL:
# Expected output: per coin, the number of rounds and the latest row
import os, requests, time
now_ms = int(time.time() * 1000)
resp = requests.post(
"https://api.hydromancer.xyz/info",
json={"type": "perpPriceHistoryByTime", "coins": ["xyz:GOLD", "xyz:CL"],
"startTime": now_ms - 4 * 60 * 1000},
headers={"Authorization": f"Bearer {os.environ['HYDROMANCER_API_KEY']}"},
timeout=10,
)
resp.raise_for_status()
for coin, rows in resp.json()["prices"].items():
print(coin, len(rows), rows[-1] if rows else "no rounds")Over a 4-minute window, that call returned 80 accepted oracle rounds each for xyz:GOLD and xyz:CL, roughly one round every 3 seconds. Each row's updateClass shows how the network sourced it: Deployer, Fallback or Normal.
To see what the deployer submitted before network acceptance, use oraclePriceHistoryByTime, which returns the raw setOracle submissions. The oracle data page covers the live assetContext request and oraclePriceHistory.
Hyperliquid API vs Hydromancer for oil and gold data
Hyperliquid's API serves current state for free, while Hydromancer adds history: Reservoir for daily trades and books, and the paid API for oracle and mark prices.
| You need | Without Hydromancer | With Hydromancer |
|---|---|---|
| Current oil and gold prices | Native metaAndAssetCtxs,dex: "xyz" (free) | assetContext for upto 20 coins per call |
| Trades, candles, books by day | Hyperliquid's raw hourly files, all venues mixed, no HIP-3 books | Reservoir, free (AWS requester-pays) |
| Oracle and mark history by block | Not in the native API | perpPriceHistoryByTime,oraclePriceHistoryByTime |
| Every oracle submission, live | Run a node with the right flags | setOracleUpdatesstream per DEX |
| Key | None | None for Reservoir; a paid API key for the rest |
| Fits | Current prices and funding for a few markets | History, backtests and oracle research |
Where Hydromancer fits
If you only want current prices, funding and open interest for a few markets, Hyperliquid's API is enough. You don't need Hydromancer for that, and we'd rather say so.
Reservoir covers Trade[XYZ]'s fills, 1-second candles and 1-minute order books for free. Live REST and WebSocket endpoints, including block-level oracle history and raw setOracle streams, require a paid plan starting at $300/month (see pricing).
What to know before you trade Hyperliquid oil and gold perps
A commodity perp follows its outside market closely while that market is open. Two mechanics still catch traders off guard if they expect crypto perp behavior.
Plan for the full weekend range, not just the first band
Outside futures hours, discovery bounds hold the mark within 1/(max leverage) of a reference price that can step multiple times. For WTIOIL, Trade[XYZ]'s docs put the full range at about 15.8% above the Friday close and 14.3% below it.
Those docs also note that a position whose liquidation price lies outside active bounds cannot be liquidated while those bounds apply. Size weekend positions for the full range, not only the first 5%.
Check which commodity markets require isolated margin
Copper, natural gas, platinum, palladium and diesel were marked isolated-only in Hyperliquid's API. Margin on those markets stays locked to that single position, so a liquidation there does not touch your other positions.
Hyperliquid's meta endpoint with "dex": "xyz" flags isolated-only assets as "marginMode": "noCross". Check that field before planning to share cross margin across positions.
Next steps
• Run the first script to list every live commodity market, then check each one's maxLeverage and marginMode in meta.
• Check Trade[XYZ]'s Roll Schedules page before comparing xyz:CL with an outside oil chart.
• Download a day of gold and oil trades using the paths on the Trade[XYZ] historical data page.
• Compare deployers by volume in Top HIP-3 Market Deployers by the Numbers.
Test and Validation
The market list, delisted status, maximum leverage and margin modes in this article were read from Hyperliquid's public API (perpCategories, perpDexs and meta for each DEX) on November 18, 2026, and read again on November 19, 2026 with the same results.
| Check | Result |
|---|---|
| Live Trade[XYZ] commodity markets | GOLD, SILVER, PLATINUM, PALLADIUM, COPPER, CL, BRENTOIL, HO, NATGAS |
| Gold, silver and oil markets on other HIP-3 DEXs | All marked delisted, for example on flx, km and cash |
| Maximum leverage | GOLD and SILVER 25x; CL, BRENTOIL, PLATINUM, PALLADIUM and COPPER 20x; NATGAS and HO 10x |
| Isolated-only markets | COPPER, NATGAS, PLATINUM, PALLADIUM, HO |
Delisted markets still in perpCategories | Yes, for example xyz:CORN and flx:GOLD |
All three code blocks ran as printed on November 19, 2026. The first listed nine live commodity markets, all on xyz: BRENTOIL, CL, COPPER, GOLD, HO, NATGAS, PALLADIUM, PLATINUM and SILVER.
The Reservoir query read the file for November 16, 2026 and returned three rows. xyz:BRENTOIL traded about $121.7 million in 55,499 trades, xyz:CL about $108.8 million in 58,316 and xyz:GOLD about $107.6 million in 22,695.
The third block, with the key read from HYDROMANCER_API_KEY, returned 80 accepted oracle rounds each for xyz:GOLD and xyz:CL over 4 minutes.
FAQ
Can you trade oil on Hyperliquid?
Yes, through HIP-3 deployers. Trade[XYZ] lists WTI crude as xyz:CL (shown as WTIOIL), Brent as xyz:BRENTOIL, diesel as xyz:HO (shown as DIESEL) and natural gas as xyz:NATGAS.
These are perpetual futures, not physical oil or expiring futures contracts. The perpCategories request lists them, and meta shows which ones are still live.
What does Hyperliquid's gold perp track?
Trade[XYZ]'s xyz:GOLD references the USD spot price of one troy ounce of gold (XAU/USD). It has no monthly roll, unlike the oil markets.
Why doesn't xyz:CL match the oil price on my chart?
It tracks a WTI futures contract and rolls to the next contract between the 5th and 10th business day of each month. During the roll, and outside futures hours when internal pricing runs, it can differ from a front-month chart.
Do Hyperliquid oil and gold perps trade on weekends?
Trade[XYZ]'s markets trade 24/7. When outside prices are unavailable, the oracle follows the order book through a 30-minute EMA, and discovery bounds cap how far the mark can move.
Where can I get historical Hyperliquid gold or oil data?
Reservoir has free fills, 1-second candles, position snapshots and 1-minute order books for xyz:GOLD, xyz:CL and other markets (you pay AWS's transfer cost). Oracle and mark price history by block comes from Hydromancer's paid API.
Sources
1. Hyperliquid docs: HIP-3, builder-deployed perpetuals
2. Hyperliquid docs: HIP-3 deployer actions
3. Hyperliquid docs: about Hyperliquid
4. Hyperliquid docs: info endpoint, perpetuals
5. Hyperliquid docs: margining
6. Trade.xyz docs: commodities
7. Trade.xyz docs: specification index
8. Trade.xyz docs: roll schedules
9. Trade.xyz docs: oracle price
10. Trade.xyz docs: discovery bounds
11. Trade.xyz docs: funding
12. Hydromancer docs: perpCategories
13. Hydromancer docs: perpPriceHistoryByTime
14. Hydromancer docs: assetContext
15. Hydromancer docs: setOracleUpdates
16. Hydromancer docs: Reservoir, Trade.xyz data
17. Hydromancer docs: Reservoir order books
18. Hydromancer: Trade.xyz historical data
Read next

Hyperliquid Staking: Guide for HYPE Stakers & Builders
How HYPE staking works on Hyperliquid: validators, commission, the 1-day lockup and 7-day unstaking queue, how APR is set, and how to read staking data.

HLP Vault: Returns, Drawdowns and Tracking for Traders
What Hyperliquid's HLP vault does, how depositors earn and lose, the 4-day lock-up, and how to read its APR, PnL and drawdowns yourself.

HIP-3 on Hyperliquid: How It Works and How to Get the Data
HIP-3 lets teams deploy their own perp DEXs on Hyperliquid. How staking, oracles, fees and OI caps work, and how to list every DEX and market by API.