BTC
ETH
HTX
SOL
BNB
查看行情
简中
繁中
English
日本語
한국어
ภาษาไทย
Tiếng Việt

Deconstructing the tradeXYZ Pricing Mechanism: How Do They Determine Prices in Advance?

区块律动BlockBeats
特邀专栏作者
2026-05-18 07:14
本文約4516字,閱讀全文需要約7分鐘
If tradeXYZ successfully completes on-chain pricing for SpaceX ahead of schedule once again, its influence could further expand.
AI總結
展開
  • Core Thesis: This article provides a detailed analysis of how the on-chain perpetual contract protocol tradeXYZ achieves self-sufficient pricing for traditional assets such as crude oil and stock indices during traditional market closures. It utilizes a parametric pricing system composed of oracle tracking speed, price discovery boundaries, and funding rate scaling factors. The article points out that this decentralized model is disrupting the pricing power of traditional finance, but also introduces deep-seated risks, such as accountability for parameter decisions.
  • Key Elements:
    1. When traditional exchanges like the CME are closed, tradeXYZ calculates the "impact price differential" from order book information and gradually converges towards the target price (the time constant has been reduced from 8 hours to 1 hour), achieving continuous on-chain pricing.
    2. To prevent prices from deviating indefinitely, the system sets a "price discovery boundary" (a cage), restricting the mark price within a certain percentage (the reciprocal of maximum leverage) of the last external closing price. The v2 version introduces a movable cage to narrow the opening price gap.
    3. A funding rate scaling factor of 0.5 reduces the annualized rate from 11% to approximately 5.5%, aligning it with the actual holding costs of traditional assets and lowering the carry cost for traders with the correct directional bias.
    4. Differentiated pricing is applied to various assets: the discount rate is dynamically calculated for index contracts, and the USD/KRW exchange rate is overlaid for Korean individual stocks to prevent futures rollovers and exchange rate fluctuations from causing false P&L for holders.
    5. During extreme market conditions, the system relies on external market makers to provide liquidity. If no one takes the other side, it triggers ADL (Auto-Deleveraging) to forcibly close the most profitable opposing positions, rather than having the treasury cover the losses.
    6. This pricing system has been stress-tested during real geopolitical crises (e.g., escalating Iran tensions on March 9th, which saw crude oil trading volume surge to $1.2 billion), and has subsequently led to S&P authorizing tradeXYZ to use its indices.

Editor's Note: Last week, Cerebras Systems, an AI chip startup dubbed the "Nvidia challenger," officially landed on the Nasdaq. On its first day of trading, the stock price surged to $350, nearly doubling from its IPO price of $185, sparking widespread market attention.

However, before its official listing, Pre-IPO perpetual contracts on tradeXYZ had already provided on-chain price discovery for CBRS hours, even weeks, in advance. tradeXYZ leverages perpetual contracts to achieve continuous trading and real-time price discovery that traditional finance cannot offer, while also allowing ordinary investors to participate in new stock pricing weeks ahead of time. This means that the IPO gray market and roadshow model of traditional finance are being disrupted by on-chain finance, and the pricing power of traditional finance is gradually being eroded.

Today, according to official sources, tradeXYZ's Pre-IPO market has officially launched SpaceX, under the ticker SPCX. As one of the most anticipated private companies globally, SpaceX is considered a potential IPO of the largest scale in human history, with market valuation expectations even pointing towards $2 trillion. If tradeXYZ successfully completes on-chain pricing for SpaceX ahead of time again, its influence could expand further.

This article was first published on March 19, providing a detailed breakdown of tradeXYZ's pricing mechanism and operational logic. The following is the original content:

In the early hours of March 9, tensions escalated in Iran. The CME was closed, the ICE was closed—all major global futures exchanges were shuttered. The next official price for crude oil wouldn't come until the Monday morning session, more than a dozen hours later.

But the CL-USDC crude oil contract on Hyperliquid didn't wait. That day, the volume for this on-chain perpetual contract surged from its daily average of $21 million to over $1.2 billion. During the window when traditional markets were closed, traders used an on-chain protocol to instantly price geopolitical risk.

This event was touted within the crypto community as another victory for DeFi. But few people asked a more fundamental question: When external markets are closed, where does this on-chain exchange's price come from?

When There's No External Quote, Where Does the Price Come From?

tradeXYZ is the largest provider of perpetual contracts for traditional assets on Hyperliquid. It operates on the HIP-3 protocol, accounting for 90% of HIP-3's total open interest. The S&P 500, Nasdaq 100, WTI crude oil, gold, silver, and individual Korean stocks are all available for 24/7 trading on the platform. But the pricing logic for perpetual contracts is completely different from that of spot trading. Spot exchange prices are generated directly through bid-ask matching. A perpetual contract needs an "anchor" to tether its contract price to the real price of the underlying asset. This anchor is the oracle.

In traditional futures markets, the pricing anchor is the exchange itself. The CME's crude oil futures price *is* the price of crude oil, requiring no external reference. But tradeXYZ's contracts run on the Hyperliquid chain, with no direct connection to Chicago's matching engine. When the CME is open, tradeXYZ's oracle directly references CME quotes—that's not technically challenging. The real difficulty arises after the CME closes.

tradeXYZ's solution involves the oracle extracting information from its own order book. The system calculates an "impact price differential." Simply put: If someone were to buy a large amount now, how much higher would the average execution price be than the current price? If someone were to sell a large amount, how much lower? This deviation reflects the imbalance of buying and selling power in the order book. The oracle adds this deviation to the current price to obtain a "target price," then uses a decay function to slowly converge the current price towards the target.

The key word is "slowly." The oracle updates every 3 seconds, but each time it moves only a small fraction of the gap between the current price and the target price. This movement speed is controlled by a time constant. The larger the time constant, the more sluggish the oracle, the harder it is to manipulate, but also the less capable it is of reflecting real market sentiment.

In the early days of tradeXYZ's launch, this time constant was set to 8 hours. In November 2025, the parameter was lowered to 1 hour. The reason for the reduction involves actual trader funds: tradeXYZ settles its funding rate every 1 hour. If the oracle tracks the real price too slowly, profitable traders will have their profits continuously drained by the funding rate.

As shown by the red line in the chart below, if you were long on crude oil and correct, but the oracle took 8 hours to catch up to the real price, your price would not have reached your target (the real price) during those 8 hours, and your profit would be significantly eroded by the funding rate.

After the parameter was reduced to 1 hour, the price reached your expected position in just 5 hours (blue line). The price can confirm your judgment faster, resulting in paying less funding fees compared to the previous setup.

But a faster oracle also brings new risks. If the oracle stops functioning for 6 hours and then suddenly recovers, according to the formula, it would jump directly to 99.7% of the target price. Such an instant price jump could trigger mass liquidations. tradeXYZ's solution was to add a safety valve: no matter how much actual time has passed, the effective time difference for each update is calculated as a maximum of 6 minutes. Even if the oracle recovers after a downtime, the price can only 'crawl' up step by step.

The Cage, Re-anchoring, and the Monday Opening Gap

The oracle pricing solved the "how to quote over the weekend" problem. But another issue arises: to what extent can the price move freely?

tradeXYZ draws a "cage" for each contract. The mark price is limited to a certain percentage above and below the last external closing price. This percentage equals the inverse of the maximum leverage. The crude oil contract has a maximum leverage of 20x, so the cage is ±5% of the closing price. If crude oil closes at $100 on Friday, the mark price over the weekend can only fluctuate between $95 and $105. If the price hits the boundary, trading is halted.

Weekend halts for crude oil contracts in early March.

During a normal weekend, this mechanism works fine. A 5% range is sufficient to absorb most overnight fluctuations. But a geopolitical event on the scale of March 9 would push the price directly to the cage boundary. All market information gets pent up. If, by the time the CME opens on Monday, the real price jumps 8%, it creates a significant gap. Short positions are instantly liquidated, and market makers suffer losses from being unable to hedge gradually.

In March 2026, tradeXYZ deployed "Price Discovery Boundary v2" on the crude oil contract. The core change: the size of the cage remains the same, but the cage can move. When the oracle price hits 90% of the current boundary, the system re-anchors the center of the cage to this boundary value, drawing a new cage of the same size around this new anchor. A maximum of two re-anchorings can occur in each direction.

Using specific numbers: The initial cage is $95 to $105. When the oracle rises to $104.50, re-anchoring is triggered, and the new cage becomes $99.75 to $110.25. After the second trigger, it becomes $104.74 to $115.76, which is the final stop. Starting from $100, the maximum discoverable range expands to approximately $115.76.

This design ensures that the instantaneous fluctuation range remains at 5% at any given moment, meaning market makers' risk models don't need to change. At the same time, re-anchoring means the system "acknowledges" the price movement that has already occurred, narrowing the potential opening gap on Monday. But the cost is also clear: a long position with a liquidation price at -8% would be absolutely safe under v1 (because the price can't reach -8%), but under v2, it could enter the liquidation zone after a downward re-anchoring. tradeXYZ chose to deploy v2 first on the two crude oil contracts and stated it would decide whether to expand after observing the results.

Another key component of the pricing system is the funding rate. The funding rate is the rubber band that tethers the perpetual contract price to the oracle price: if the mark price is higher than the oracle, longs pay shorts; if lower, shorts pay longs. tradeXYZ's funding rate formula uses the same structure as most crypto exchanges, but with a scaling factor of 0.5 multiplied at the front.

This 0.5 factor is calibrated specifically for traditional assets. The base annualized funding rate for crypto perpetuals is around 11%, reflecting the cost of leveraged holding. This makes sense for assets like Bitcoin, which have no dividends. But for stocks and commodities, the real holding cost is closer to SOFR plus 1-2 percentage points, around 5% to 6%. Multiplying by 0.5 reduces the base annualized rate from 11% to about 5.5%, aligning it with traditional assets. This is particularly critical over weekends: the scaling factor effectively halves the weekend funding rate. Working together with the 1-hour time constant oracle, it allows traders on the right side of the market to retain most of their profits.

Different Assets, Different Processing Pipelines

Precious metals have active global spot markets. The external prices for gold, silver, platinum, and palladium are directly taken from spot quotes, avoiding futures rollover issues. However, there are no unified spot quotes for crude oil and industrial metals, so tradeXYZ must use CME futures contracts as the pricing basis. Futures have expiration dates, requiring the system to roll over from the current month contract to the next month contract each month. The problem is that the prices of these two contracts are usually different. Storage costs and supply/demand expectations can make the far-month contract price higher than the near-month price. If the price jumps during the rollover, the PnL of position holders will experience unrealistic fluctuations, potentially triggering unintended liquidations.

tradeXYZ handles this with a 5 trading day gradual transition: from the 5th to the 10th working day of each month, the oracle price is a weighted average of the near-month and far-month contracts, with the weight changing linearly day by day.

Pricing for stock index contracts is more complex. XYZ100 tracks the Nasdaq 100, but CME Nasdaq futures trade almost around the clock (5 days x 23 hours), providing price reference for a longer period than the spot index. Initially, tradeXYZ back-calculated the spot price from the futures price, applying a fixed 4% discount rate to strip out the holding cost. But this fixed value would deviate once the Fed changed interest rates. The v2 solution, launched in February 2026, switched to dynamic calculation: during US stock market hours, it directly uses the spot index value while simultaneously back-calculating an implied discount rate from the spread between futures and spot. During after-hours, it then uses this discount rate to back-calculate the spot price.

There is also a special case: individual Korean stocks. tradeXYZ lists Samsung Electronics, SK Hynix, and Hyundai Motor, which are quoted in Korean Won on the Korea Exchange. The oracle needs to overlay a USD/KRW exchange rate conversion on the original quote. The PnL of position holders, therefore, reflects both stock price fluctuations and exchange rate fluctuations.

Who is Responsible for the Consequences of Parameter Choices?

All these pricing mechanisms operate on a premise: there are enough market makers willing to continuously provide liquidity. Hyperliquid's HLP market-making vault provides liquidity for native BTC and ETH perpetual contracts but does not cover third-party contracts deployed on HIP-3. tradeXYZ's liquidity depends entirely on the voluntary participation of external market makers. During extreme market conditions, if a liquidated position cannot find a counterparty to absorb it, the system does not rely on a vault to backstop it like Hyperliquid's main site does. Instead, it directly triggers Auto-Deleveraging (ADL), forcibly closing the most profitable opposing positions, sorted by PnL ranking.

The elegance of this pricing system is that it uses a set of interlocking parameters—the oracle's tracking speed, the price discovery boundaries, the funding rate scaling factor—to construct a self-sufficient pricing environment capable of operating without external quotes. When S&P chose to authorize tradeXYZ on March 18, it was likely looking at this infrastructure that had been tested during a real geopolitical crisis.

But this system also has its costs. The oracle extracts information from the order book, meaning that during periods of thin liquidity (e.g., late-night sessions for Korean stock contracts), a small number of orders could cause the oracle to move significantly. Price discovery boundary v2 expands the liquidation range over weekends, requiring leveraged traders to reassess their safety margins. ADL means that even if your judgment is correct, you could be forcibly liquidated during extreme market events.

tradeXYZ chose a path completely different from traditional exchanges: transferring pricing power from centralized matching engines to a set of on-chain parameter systems. Traditional exchanges close because clearing, risk control, and market-making require a window for human intervention. tradeXYZ cannot close because the concept of "off-hours" doesn't exist for on-chain contracts. It must provide a price at all times. The crude oil event on March 9 proved this system works under pressure. But it also exposed a deeper problem: when on-chain protocols assume the pricing function of traditional financial infrastructure, who bears the responsibility for the consequences of parameter choices?

Adjusting the time constant from 8 hours to 1 hour was a parameter decision by the tradeXYZ team. Upgrading the price discovery boundary from v1 to v2 was another. These choices directly affect the liquidation levels and funding rates of every position holder. In a traditional exchange, such rule changes require regulatory approval and a public announcement period. On-chain, a single parameter update is sufficient to achieve the change.

In a system without HLP backstopping, without regulatory arbitration, and relying entirely on parameter design to maintain order, understanding how these parameters affect your position is key to understanding the true risk you are undertaking.

Perp DEX