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, 202521New User Bonus Program - Terms and Conditions
Express buy/sell with Brazilian Reais (BRL) Crypto-to-crypto conversion Deposit Task Deposit tasks are measured by Net Deposit, defined as: Net Deposit = Qualifying Deposits − Qualifying Withdrawals You must reach the required Net Deposit amount shown in your task to complete it. Below is what counts and what does not. Category Transaction Type Counted?Published on Apr 24, 2024Updated on Mar 13, 2026404How 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, 2026193Zero-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, 202626Block trading basics
They are common among institutional investors, hedge funds and high-net-worth individuals deploying significant capital. When executing large orders on exchanges, traders risk impacting the market and causing price slippage. Alternatively, via private negotiations, they can predetermine a settlement price by requesting-for-quote from a market maker.What is an RFQ?Published on Jun 29, 2022Updated on Mar 6, 202616How do I sign up and onboard for Block Trading?
Please be aware though that trades on Block Trading by us will be submitted using Net mode by default, regardless of your selection from other venues on our platform.Published on Jun 23, 2022Updated on Dec 1, 202569Crypto 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, 2026131Lead traders: Spot lead trading guidelines
The net order amount after fees is below the platform’s minimum order size, which may prevent the position from being sold successfully. In this case, the lead trader may continue trading normally; however, copy traders will not be able to successfully follow the order. The buy order is partially filled and the remaining portion is not canceled. In this scenario, no copy trading signal will be generated. The spot position was opened before the user became a spot lead trader.Published on Oct 30, 2023Updated on Mar 18, 2026195How 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,170