


In margin contract trading, it's essential to understand three core price types for effective risk management and optimal trading strategies. Each price type has a distinct role and purpose within the trading system.
Last traded price refers to the actual price at which trades are being executed on the order book in real time. This price continuously updates, reflecting the immediate buy and sell activity in the market. Traders use this price to gauge short-term trends and to inform timely order entries.
Index price is determined by a weighted average calculation using data from several sources. Specifically, the index price aggregates prices from three or more highly liquid exchanges and applies a weighted methodology to represent the broader market. This method helps reduce the impact of abnormal fluctuations from any single source, resulting in a more trustworthy reference price.
Mark price is a specialized mechanism designed to shield traders from unnecessary liquidation risks. It's calculated by combining the spot index price with the moving average of the basis (the difference between the contract price and the spot price). Mark price is critical for calculating unrealized P&L and determining when liquidation is triggered. Using mark price instead of the last traded price helps prevent premature liquidations caused by temporary price shocks in the market.
The spot index price is the foundation for valuing margin contracts. For USDT-margined contracts, the index price is quoted in USDT. For crypto-margined contracts, it uses the USD value of the underlying asset.
To ensure the index price accurately reflects the asset's actual market value, platforms calculate a weighted average from at least three highly liquid trading sources. This approach not only improves reliability but also mitigates the risk of price manipulation from any single exchange.
Additionally, the system includes extra protective measures for scenarios like exchange outages or extreme market volatility. As a result, the index price remains within a reasonable range, even during significant market disruptions.
The index price calculation process is carefully structured to ensure precision and stability:
Step 1: Real-time data collection The system continuously retrieves pricing and trading volume for relevant pairs from designated exchanges. Updates happen in real time to mirror true market conditions.
Step 2: Data validity checks Exchanges undergoing maintenance or failing to update prices within a set time frame are temporarily excluded from calculations. Update frequency may differ by index but always prioritizes the most reliable data.
Step 3: Price unit conversion For pairs quoted in BTC, the system automatically converts prices to USDT by multiplying by the BTC/USDT index, standardizing all data to a single unit.
Step 4: Weighting application If not all sources provide valid data, the system applies special weighting rules as described in the supplementary protection measures below.
To avoid market performance disruptions when one or more exchanges encounter issues, platforms employ several layers of safeguards:
If there are three or more exchanges: All data sources receive equal weighting. However, if a price from any exchange deviates more than 3% from the average, the system automatically adjusts that price to either 97% or 103% of the average, depending on whether it's above or below the mean. This prevents extreme outliers from skewing the index price.
If there are only two exchanges: Both sources are equally weighted, ensuring a balanced calculation.
If only one exchange remains: In emergency scenarios where only one valid source is available, the last traded price from that exchange becomes the index price. While this is suboptimal, it keeps the system operational.
Mark price is a key tool that balances market accuracy with protection against short-term price swings. It's calculated by combining the spot index price and the moving average of the basis.
The moving average acts as a filter, smoothing out short-term price volatility and reducing the risk of unnecessary liquidations from temporary price shocks. This is particularly valuable during periods of high market volatility.
Detailed calculation formula:
Mark Price = Spot Index Price + Basis Moving Average
Where:
Using the mid-price instead of the last traded price helps minimize the influence of large single trades that could trigger artificial volatility.
Mark price is the basis for calculating unrealized profit and loss (PNL) for both crypto-margined and USDT-margined contracts. The formulas for each type are as follows:
For crypto-margined contracts:
Long position: PNL = Face value × |Number of contracts| × Multiplier × (1 / Average matched price – 1 / Average mark price)
Short position: PNL = Face value × |Number of contracts| × Multiplier × (1 / Average mark price – 1 / Average matched price)
For USDT-margined contracts:
Long position: PNL = Face value × |Number of contracts| × Multiplier × (Average mark price – Average matched price)
Short position: PNL = Face value × |Number of contracts| × Multiplier × (Average matched price – Average mark price)
The formula differences reflect the two settlement methods: crypto-margined contracts settle in the underlying asset, while USDT-margined contracts settle in stablecoin.
Mark price is most crucial in liquidation and unrealized P&L calculations. Unlike older systems that rely on the last traded price, modern margin contract platforms use mark price for both.
Choosing mark price over the last traded price brings significant advantages for traders:
Protection from unfair liquidation: During sharp market swings, trade prices can spike or plunge due to large orders or low liquidity. If liquidation is based on such prices, positions may be closed unfairly. Mark price, with its moving average feature, filters out these temporary shocks.
Better market value representation: By referencing spot index prices from multiple sources, mark price more accurately reflects the true asset value compared to a single exchange price.
Transparency and predictability: Traders can monitor mark price in real time to assess liquidation risk accurately, enabling timely strategy adjustments or margin additions when needed.
In short, mark price is an essential component of margin contract trading. It ensures fairness and stability while closely tracking market movements. Understanding how mark price works helps traders manage risk more effectively and avoid unnecessary losses.
Mark price is a reference used for P&L calculation and to prevent liquidation. It's calculated by averaging the basis price from multiple exchanges and combining it with financial indexes to ensure the most accurate and fair market reflection.
Index price is the average from multiple market sources, reflecting the current true price. Mark price is an adjusted reference designed to prevent abuse. Mark price is usually close to the index price but may vary depending on market conditions.
Mark price determines the asset's true value, prevents price manipulation, and ensures fairness for all traders. It decides real profit/loss and triggers liquidation when margin is insufficient, protecting the system from value loss risk.
Mark price determines the gap between the current price and the liquidation price. When mark price decreases, liquidation risk rises. If the price moves adversely, the account will be liquidated once it reaches the minimum margin threshold.
Maintain a high margin ratio, monitor mark price frequently, set appropriate stop-loss orders, and manage positions carefully. Add margin as needed to reduce liquidation risk during periods of high volatility.
Mark price is a reference derived from external data sources. Index price is calculated from actual trades in the market. Last traded price is the current execution price for user transactions, reflecting real-time supply and demand.











