Quick Answer: XAUUSDT can display three different prices because they perform different jobs. The last price is the most recent trade in the contract and helps show where its own market executed. The index price is an external reference constructed under the contract’s published methodology. The mark price is a calculated reference used by Phemex for unrealized P&L and liquidation checks. A position closes through an actual execution, so realized P&L can differ from the unrealized P&L shown just before closing.
A gold-linked perpetual is a derivative, not a bar of gold and not necessarily a claim to physical delivery. Its contract market has buyers and sellers whose orders determine actual fills. The underlying gold reference and the platform’s calculated mark have distinct purposes. A reader who compares numbers without identifying the instrument, timestamp, and price type may conclude that a quote is “wrong” when the prices are simply measuring different things.
Phemex’s general mark-price explanation states the roles of last and mark prices, while its index-price help describes the index concept. The exact components and rules for XAUUSDT should be taken from the current contract specification, not copied from a Bitcoin example. This article explains the mechanics without asserting a particular live index value or a permanent source mix.
What is XAUUSDT’s last price?
It is the price of the most recent executed XAUUSDT contract trade on the venue. When a buy and sell order match, the execution updates the last-price series. A candlestick chart that uses last price reflects these trades. It can jump if the next execution is far from the prior one, especially when the order book is thin or market orders sweep several price levels.
The last price does not guarantee what the next trader will pay or receive. The next executable buy price is related to asks in the order book; the next executable sell price is related to bids. A trader closing a position may fill across several levels and receive an average price different from the most recent last trade. Order size, liquidity, and order type matter.
For a completed long, realized price P&L is based on actual entry and exit executions, less trading costs and funding as applicable. A last-price chart is a useful guide to market activity, but the account ledger and fill record govern the final result. The Phemex liquidation guide describes last price as the basis for realized P&L in its simplified explanation; individual multi-fill trades should still be reconciled from their actual executions.
What is the index price?
It is the contract’s published reference for the underlying market, assembled under an index methodology. A price index is meant to reduce reliance on a single trade in the perpetual order book. It can use one or more external data sources, filters, weights, and fallback rules. The exact recipe matters, especially for a gold-linked instrument whose reference market may have different hours and data availability from a crypto derivative.
Do not assume that a gold spot quote on a news site equals the Phemex XAUUSDT index. One quote may be in US dollars per troy ounce, another may use a broker’s indicative price, and the derivative itself is margined or settled according to its contract rules. The data may update at different times. A few dollars of apparent difference can come from the source, spread, timestamp, quote unit, or construction method.
Phemex’s general index help describes how an index can filter invalid data and rely on multiple sources, but examples for crypto pairs should not be automatically applied to XAUUSDT. Before publishing a product-specific source list, check the XAUUSDT specification in the live Phemex trading interface and its linked index information. If the current formula or constituents are unavailable, say so rather than invent them.
What is the mark price used for?
Phemex uses mark price for unrealized P&L and liquidation assessment. The purpose is to avoid making a position’s risk depend solely on one potentially anomalous last trade. Mark price is calculated from the index and a basis or funding-related component under the applicable contract method. It is therefore expected that mark can differ from both the most recent contract trade and the index itself.
The general dual-price help page publishes a formula for perpetuals involving an index, funding-related reference, moving basis, and contract price. That page describes a general mechanism. A live contract can have parameters or adjustments that must be checked in its specification. Traders should not attempt to reconstruct the exact live mark from a stale article and one displayed index value alone.
Liquidation is based on the account’s position equity and maintenance requirements, not simply whether a last-price candle touches a line. Mark price affects unrealized P&L and therefore the risk calculation. Other factors include position size, margin mode, maintenance margin, fees, and funding. A trader who watches only last-price candles can miss a change in the mark or in their available margin.
| Price | What it represents | Common use in a Phemex perpetual | What it does not guarantee |
|---|---|---|---|
| Last | Most recent matched trade in XAUUSDT | Charting and recent execution context | Your next fill price. |
| Index | Published underlying reference | Input to fair-price and funding mechanisms | An executable gold or contract quote. |
| Mark | Calculated fair-price reference | Unrealized P&L and liquidation assessment | The price you can close at. |
All three can be valid at once. A useful comparison records the same timestamp and the contract’s quote unit for each value. If a screenshot of one price is minutes older than another, it may exaggerate a difference that was temporary.
Why can displayed unrealized P&L change when the chart barely moves?
The P&L display may use mark price while the visible chart shows last price. Suppose a hypothetical long position has an average entry of 2,000 USDT per contract unit and a quantity of one unit. If mark price is 2,005, simplified unrealized price P&L is about +5 USDT before fees and funding. If the latest last trade is 2,003, the chart may visually suggest only a three-unit gain. Both displays are consistent if they use different reference prices.
Now suppose the position is closed at an actual average execution price of 2,002. Simplified realized price P&L is +2 USDT before fees and funding, even though the unrealized display showed about +5 immediately beforehand. The three-unit difference is not automatically an error; the trader exited at an execution price different from the mark. These numbers are illustrative, not current XAUUSDT prices or contract-size assumptions. The actual contract multiplier and settlement rules must be checked for a real position.
A short position reverses the direction of price P&L but has the same distinction between mark-based unrealized value and execution-based realized value. The final account change also includes trading fees and funding. A screen that rounds prices to fewer decimal places may add small visual differences; the ledger is the correct place to reconcile them.
Why might the three prices diverge more during quiet or closed gold-market hours?
Different data sources and trading schedules can increase basis and staleness risk. Traditional gold reference markets do not all operate on the same schedule as a crypto perpetual venue. During a period when a relevant gold reference is closed or less frequently updated, the contract order book may still react to news or customer orders. The index methodology may specify a fallback or other treatment. Without the current product rules, one should not assert exactly how Phemex handles every holiday or weekend.
This is why a trader should look for timestamped index values, funding information, and depth in the live order book. A last-price spike on low volume can be far from the index. A mark calculation may respond differently, depending on its basis inputs and safeguards. A wide difference is a reason to inspect the contract specification and liquidity, not proof of an arbitrage that can be captured risk-free.
An apparent arbitrage has execution, margin, and hedge costs. A physical gold quote, a CFD quote, and a crypto perpetual may be inaccessible to the same participant or settle in different currencies. The prices may also differ because of funding expectations and the ability to hold or hedge exposure over a market closure.
What should a trader check before opening or closing?
Check each price’s role and the actual market you can execute. Before opening, view the last price, bid and ask, order-book depth, current mark, current index, funding rate, margin requirement, and next funding event. Record the exact contract and unit. A market order can fill across the book; a limit order can remain unfilled. The index and mark are reference values, not substitute order quotes.
While holding, monitor the mark and account margin rather than relying only on the chart’s last-price line. When closing, estimate the result from achievable bids or asks and likely fees, not from the unrealized P&L widget alone. After closing, reconcile the actual fills, fees, and funding entries. If there is a material discrepancy that remains after checking those items, use the trade ID and timestamp when contacting support.
The general Phemex XAUUSDT trading guide explains the product context. This article’s narrower task is to keep reference prices and executable prices separate. That distinction is also the basis for understanding why a liquidation warning or displayed gain can change without an identical movement in a chart candle.
FAQ
Which XAUUSDT price determines liquidation?
Phemex’s general perpetual rules use mark price for liquidation assessment, together with position equity and maintenance margin. Check the current XAUUSDT contract rules and your account’s margin mode for the full calculation.
Is the index price a price I can trade at?
No. It is a reference calculation. A trade executes against available orders in the contract market, at prices determined by those orders and the order type.
Why did my realized P&L differ from the displayed unrealized P&L?
Unrealized P&L can use mark price, while closing realizes a result from actual execution prices. Fees and funding can widen the difference. Compare fills and ledger entries at the relevant times.
Does XAUUSDT always match physical gold prices?
No. It is a separate derivative with its own order book, index construction, funding, and settlement. Compare like units and timestamps, and consult the current contract methodology before assuming two quotes should match.
