All
FAQ
Announcements
Product documents
How do I use the Top account long/short ratio indicator?
The Top account long/short ratio indicator visualizes the ratio of accounts with net long positions to those with net short positions among the top 5% of traders with the largest open position value. The Top account long/short ratio is viewed as a gauge of top traders' sentiment, where a high ratio suggests optimistic expectations. Long/short ratio (Accounts) ratio is calculated as accounts with net long positions/ accounts with net short positions.Published on May 16, 2024Updated on Nov 12, 202521How do I use the Account long/short ratio indicator?
The Account long/short ratio indicator visualises the ratio of accounts with net long positions to those with net short positions. This is a sentiment analysis indicator. An indicator featuring a high long-short ratio signifies positive expectations among investors. The display of Account long/short ratio indicatorHow do I turn on the Account long/short ratio indicator?Published on May 16, 2024Updated on Feb 12, 202618How can I do derivatives trading with the Jupyter Notebook?
There are two position (order placement) modes when trading EXPIRY and PERPETUAL: long/short and buy/sell (net). You can change the position (order placement) mode between long/short and buy/sell (net), via the API Set position mode: result = accountAPI.set_position_mode( posMode = "long_short_mode" ) print(result) Or alternatively, you can do it via Settings on the web as below: In buy/sell (net) mode, the position of a certain contract is the net quantity of your buy and sell trades.Published on Sep 28, 2023Updated on Feb 12, 2026194Forced Loan Repayment, Credit Line Liquidation and Risk Unit Terms and Conditions
Calculation Example In the case below Net Delta = -5,000,000 + 10,000,000 = 5,000,000 Gross Delta = 5,000,000 + 10,000,000 = 15,000,000 Risk Unit Equity Delta Derivatives Delta Total Delta Funding account equity Trading account net equity Perp Delta Option Delta BTC 2,000,000 2,000,000 -10,000,000 1,000,000 -5,000,000 ETH 2,000,000 -2,000,000 10,000,000 N/A 10,000,000 Delta Limit & Borrow Limit Each Risk Unit will have predefined delta limits, covering both Net Delta and Gross Delta and a borrowingPublished on Mar 12, 2025Updated on Dec 9, 202529Zero-Knowledge Proofs: what are zk-STARKs and how do they work? (zk-STARK V1)
Building constraints: in order to prove the liability of our exchange, we state three claims: Claim 1: We accumulated every user's values correctly, including the value of each crypto and net value of each user Claim 2: The exchange has not forged a virtual user whose net value is negative to reduce the total exchange liability (An individual user having negative balances is acceptable only if her/his net value is above 0) Claim 3: The total value that the exchange claims accounts for every singlePublished on May 10, 2023Updated on Sep 8, 2025178How do I track the cost price of my spot trades?
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 18, 202626How can I boost my OKX P2P ads completion rates?
An 80% or higher completion rate turns heads, and here's how you can achieve it: Set specific counterparty conditions: tailoring your conditions allows you to connect with experienced traders without casting too wide or too narrow a net. Find the balance that brings in the right crowd. Embrace the standard of quality merchants: order cancellation rate = 0? Good feedback rating = 99%? Average release crypto time <120s? These factors define a high-quality merchant.Published on Apr 18, 2024Updated on Aug 28, 202555Crypto profit & loss analysis (PnL) FAQ
Cryptos with a net value of less than $10 are not displayed.3. Is the asset and PnL data shown in Crypto PnL Analysis updated in real time? The number of assets changes in real-time, but there is a 5-10 minute delay in PnL.4. Is Crypto PnL analysis sharing available for all cryptos? No, stablecoins do not support PnL sharing at the moment.5. How is cumulative PnL calculated? When the total value of crypto assets is greater than $10, the system will start calculating the cumulative PnL.Published on Aug 22, 2023Updated on Mar 3, 2026103Zero-Knowledge Proofs: what are zk-STARKs and how do they work? (zk-Stark V2)
the inclusion of their net value in the total value However, revealing these balances can compromise user privacy.Published on Oct 21, 2024Updated on Feb 11, 202690OKX Trading Rebate Card - Terms and Conditions
The trading fee rebate amount equals the net trading fee amount (exclude the maker rebate if any of your transaction involves a trade by market makers with negative trading fees) you paid each day on UTC+8.Terms and conditions Please note that the value of the rewards may fluctuate and may not be equal in value at the time a recipient has the ability to withdraw based on market fluctuation. Prices of digital assets, including stablecoins, can and do fluctuate at any moment.Published on Oct 9, 2023Updated on Jan 8, 2026329OKX API FAQ
If it's a buying and selling mode, or a cryptocurrency or leveraged transaction is conducted under the opening and closing mode, posSide only supports net or no transmission.Which interface can be used to obtain the contract face value and minimum order quantity? You can use the interface to obtain basic information of trading products here. contract face value: ctVal, minimum order quantity: minSz.What's the format of instId?Published on Sep 20, 2024Updated on Mar 3, 2026131What's OKX Affiliate Program in EEA?
Note: If an invitee’s counterparty has a negative trading fee rate, the final commission will be calculated based on the actual net trading fees incurred. We don’t credit commissions for: Zero-fee trades Trades with rebate cards (commissions will be credited in the form of rebate cards) Trades with special fee rates You may not be able to earn commissions from users located in Prohibited Jurisdictions, as further defined below.Where can I view commission metrics?Published on Sep 27, 2023Updated on Jan 22, 2026Reengagement Campaign - Terms and Conditions
The trading fee rebate amount equals the net trading fee amount (exclude the maker rebate if any of your transaction involves a trade by market makers with negative trading fees) you paid each day on UTC+8.Terms and conditions This is a limited time offer available from December 4 2024 10:00 (UTC+1). Only Dutch users registered under Aux Cayes FinTech Co. Ltd before March 2024 will be entitled to claim the reward.Published on Dec 5, 2024Updated on Nov 17, 2025How do total Profit and Loss (PnL) and Grid profits work for Spot Grid?
In this example: Buy amount: 0.00005222 BTC Buy fee: 0.00000005222 BTC Net BTC held after buy: 0.00005222 - 0.00000005222 = 0.00005216778 BTC Sell amount: 0.00005216 BTC This leads to a tiny leftover BTC balance. Residual BTC due to rounding and fee units After selling, a very small amount of BTC may remain in the bot—in this case, 0.00000000778 BTC.Published on Jun 20, 2025Updated on Nov 26, 202549What's OKX Affiliate Program?
This includes: Spot, Futures, Perpetuals, and CeDeFi Trading (where available; product availability may differ by region) Note: If an invitee's counterparty has a negative trading fee rate, the final commission will be calculated based on the actual net trading fees incurred. You will not receive commissions if any of the following conditions are met: The trader's transactions involve cryptocurrencies that do not incur fees.Published on Sep 27, 2023Updated on Mar 16, 20263,171