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 total Profit and Loss (PnL) and Grid profits work for Spot Grid?
Any profits from incomplete cycles are not reflected.How is the field "Unpaired PnL" calculated?Published on Jun 20, 2025Updated on Nov 26, 202554How 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, 2026Forced Loan Repayment, Credit Line Liquidation and Risk Unit Terms and Conditions
Calculation of Total Discounted Assets: -Calculate the sum of each asset in each account / sub-account (inclusive of trading and funding accounts). -Multiply the above sum by a Discount Rate and Tier, applicable to each type of asset.Published on Mar 12, 2025Updated on Dec 9, 202531What 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, 2026493What's an OKX Flexible Loan?
If your current LTV is higher than the initial LTV when you're applying for the second loan, our system will first add the additional pledge amount to the original pledge rate, and calculate the remaining amount as the available borrowing amount.6. Why is the APR different hourly? Our APR is calculated hourly. You'll see the previous hour's APR when you're borrowing, while your borrowing APR will be calculated on the next hour after you've applied.7.Published on Dec 8, 2023Updated on Mar 3, 2026123How do I assess my profitability with the Risk/Reward tool?
The tool then calculates and displays the risk/reward ratio, indicating how much potential profit you stand to gain for every unit of potential loss. This visual representation aids in assessing whether a trade aligns with your risk tolerance and trading strategy.Why is the Risk/Reward ratio important in trading? Understanding the Risk/Reward ratio is crucial for effective risk management.Published on Jun 22, 2025Updated on Dec 3, 20252Zero-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, 2026280