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 Jan 30, 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, 20253What 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, 2026484Copy 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 4, 2026257Zero-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, 2025178Trading Fee Rules FAQ
How is the trading fee calculated? Instruments Calculation formulas of trading fees Spot/Margin Trading fee of Spot/Margin = Fee rate × Amount of bought or sold crypto when order filled.Published on Mar 22, 2024Updated on Mar 3, 20261,069How 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?Published on May 3, 2024Updated on Feb 12, 202679What 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, 2026278OKX 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, 20261Lead traders FAQ
How do I calculate lead trader's assets under management (AUM)?Published on Sep 6, 2023Updated on Mar 4, 2026116USDG 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, 2026303How do I use the Top account long/short ratio indicator?
Long/short ratio (Accounts) ratio is calculated as accounts with net long positions/ accounts with net short positions. The display of Top account long/short ratio indicatorHow do I turn on the Top account long/short ratio indicator?Published on May 16, 2024Updated on Nov 12, 202521Gas fees FAQ
Transaction fee calculation: fees combine bandwidth and energy consumption, with TRC-20 token transfers needing both, while TRX/TRC-10 transfers typically require only bandwidth. Resource sufficiency: accounts with staked bandwidth or energy avoid additional TRX costs, while those without relying on burning TRX to cover resource deficits. Transaction size: larger transactions consume more bandwidth, leading to higher costs.Published on Feb 17, 2025Updated on Feb 27, 2026187