All
FAQ
Announcements
Product documents
How do I use the liquidation price calculator?
Select %Calculator located beneath the Buy (long) [crypto] Kickstart your calculation process Make sure you're in the PnL section on the pop-up and select Margin Buy or Margin Sell Select your type of margins Select the Margin mode Margin mode has to be selected to proceed to the calculation phase Insert your Leverage, Entry Price, Exit Price, and Amount Fill up the necessary details before proceeding to calculate the required margin, P&L, and P&L ratio Select Calculate for the result Calculate thePublished on Jul 3, 2024Updated on Jan 28, 202639Crypto profit & loss analysis (PnL) FAQ
How is the average cost of a crypto asset calculated in Crypto PnL Analysis? Average cost = (Average cost before the last purchase or deposit * Amount + Price of the last purchase or deposit * Amount) / Balance after the last purchase or deposit Note: price of the last deposit is the price at the moment of depositing7. How is the PnL calculated? PnL = (Last price - Average cost) * Current balance8. How is the PnL% calculated? PnL% = (Last price - Average cost) / Average cost9.Published on Aug 22, 2023Updated on Mar 3, 2026103How do I track the cost price of my spot trades?
How is the cost price calculated? The calculations are based on your spot trading history. You may choose to calculate by average entry cost or cumulative average cost in trading settings. Average cost price = (Average cost price before last buy × Amount + Price of last buy × Amount) / Net buying amount Cumulative Cost Price = (Cumulative buying value – Cumulative selling value) / Net buying amount Visit here to learn more.How do I track the cost price of my spot trades?Published on Sep 5, 2024Updated on Mar 31, 202626How do I use the custom formula feature?
Navigate to the Trading screen Select Advanced Select Custom Formula from the list of options Select Custom Formula from the Advanced option Enter your formula using mathematical operators For instance, you would like to compare SOL’s performance to BTC using SOL/BTC, or evaluate the stronger pair by calculating SOL/BTC – ETH/BTC You can create a formula using up to 10 pairs with +, -, /, and * operations Once a formula is created, the chart dynamically updates with candles that reflect the calculatedPublished on Mar 5, 2025Updated on Sep 10, 20254What are the trading volume rules for the campaign?
What transactions are excluded from trading volume calculations? Trading volume does not include transactions that have: 0 trading fees, or Negative trading fees These transactions are excluded from all campaign-related volume calculations. For a full breakdown of fee structures and applicable scenarios, please refer to the official OKX fee documentation here.Does all trading activity count toward the campaign volume? No.Published on Mar 26, 2026Updated on Mar 31, 2026Stock Perpetuals FAQ
The specific rules are as follows: Index calculation rules: The index calculation rules for Stock Perpetuals are consistent with standard index calculation rules, using multiple price providers as index components to deliver real-time price updates (some component prices may be smoothed using EMA). For detailed rules, refer to: Spot index prices Index bands protection mechanism: OKX will activate the index bands protection mechanism for Stock Perpetual indices.Published on Apr 1, 2026Updated on Apr 1, 2026What is Proof of Reserves (PoR) user snapshot data?
as: snapshot equity = the USDT amount shown in "My Portfolio" - the USDT amount of the margin trading position liability ETH snapshot is calculated as: snapshot equity = ETH amount shown in "My Portfolio" + ETH amount of margin trading position assets - ETH amount of margin trading UPL Example: short ETH/USDT (i.e. borrow ETH and sell USDT) ETH snapshot is calculated as: snapshot equity = ETH amount shown in "My Portfolio" - ETH amount of margin trading position liabilities USDT snapshot is calculatedPublished on Jan 20, 2023Updated on Mar 4, 2026494Zero-Knowledge Proofs: what are zk-STARKs and how do they work? (zk-STARK V1)
You may first calculate your leaf by hashing your asset information, then verify whether your leaf is a valid leaf in the Merkle tree and root we publish. For example, in Figure 1, the user with an id of id_k will calculate hashk = hash("20" + "15" + "5" + "id_k" + "99821"), and the other data in the red square frame will be the Merkle path verification. An open source tool is provided for users to do this verification.Published on May 10, 2023Updated on Sep 8, 2025179Copy traders: How do I choose a lead trader?
The current available data indicators are as follows: Indicator Definition Overview Calculation based on the weighting of multiple indicators for each traders Win rate Win rate = No. of profitable orders / Total no. of orders PnL% PnL% = Profit / Cost. Cost calculations will consider any changes caused by funds being transferred in or out of a user’s trading account.Published on Dec 22, 2022Updated on Mar 17, 2026259Trading Fee Rules FAQ
Find the fee amount in your order history If you would like to check out how the fee is calculated, you can select Details and hover over the Fee. Select details to find out how the fee is calculated From Order center > Order history Go to our Order center and select Order history. You will see the amount of the fee applied. Opening Order center page If you would like to check out how the fee is calculated, you can select Details and hover over the Fee.Published on Mar 22, 2024Updated on Mar 31, 20261,076What are the spot trading guidelines for copy traders?
Profit sharing will be calculated every Monday at 00:00 (UTC+8). Here is an example of how profit sharing is calculated: A lead trader creates spot lead trades for BTC/USDT, ETH/USDT, and ETC/UDST. Their profit-sharing level is L2, and their profit-sharing ratio is 10%. Below is an example of how their copy trader's profit-sharing is calculated.Published on Nov 6, 2023Updated on Mar 3, 2026280OKX Brazil Affiliates New User Campaign
Only affiliated users who register within the activity period will be considered for the total Affiliate Rewards calculation. New affiliated users must complete a single trade in any Tier within 14 days of account registration. New affiliated users must be registered under the OKX Brazil Entity. Trading under Advanced mode; Simple mode; Convert through App, and Spot trading; Express buy/sell with BRL; and Convert through Web is counted.Published on May 11, 2024Updated on Feb 9, 20261How do I use the Futures Analysis tool?
Profit factor: which is calculated as the total profit divided by the total loss. It measures the effectiveness of a trading strategy in generating profit. Risk/reward ratio: which is calculated as the average PnL of losing positions divided by the average PnL of winning positions. It measures the average reward in comparison to the average risk of a position, providing insight into the balance between potential gains and losses.How can I use the Futures Analysis tool? On the App: 1.Published on May 3, 2024Updated on Mar 22, 202679USDG rewards program FAQ
How are my USDG rewards calculated? Rewards are calculated based on your eligible USDG balance in each hourly snapshot. Once activated, USDG rewards accrue automatically and become claimable every week. 9. Can I freely use my USDG? Yes. You can move, trade, or withdraw your USDG anytime — there’s no lock-up or restriction on your funds. 10. When will I receive my USDG rewards?Published on Oct 13, 2025Updated on Jan 26, 2026382Lead traders FAQ
How do I calculate lead trader's assets under management (AUM)?Published on Sep 6, 2023Updated on Mar 28, 2026119