All
FAQ
Announcements
Product documents
Spot cost price
On Day 1, you purchase 2 ETH at a price of 3000, and the last price is 3500. Average cost price Average cost price = (0 + 3000 * 2) / 2 = 3000 PnL = (3500-3000)*2 = 1000 PnL Ratio = (3500 - 3000)/3000 * 100% = 16.67% Cumulative Cost Price Cumulative Cost Price = (3000 * 2 - 0)/2 = 3000 PnL = 3500 * 2 - 3000 * 2 + 0 = 1000 PnL Ratio = 1000 / (3000 * 2 - 0) * 100% = 16.67% Scenario 2: On Day 2, you sell 1 ETH at a price of 3500, and the last price is now 4000.Published on Jun 17, 2022Updated on Nov 6, 2025Product documentationHow long does it take for a deposit to be completed?
Bundle verification: if you choose to transact on a Layer 2 network (such as Optimism, Base, or Arbitrum One), the transaction will be verified on Layer 2 and then bundled with other transactions as a single bundle for verification on Layer 1.Published on Oct 17, 2024Updated on Jan 1, 2026FAQ392Spot and futures cross margin mode
The current margin position is a short position—Its position asset is 30,000 USDT, Leverage is 10X, liability 2 BTC, with interest and fees temporarily ignored.1. Buy 2.5 BTC at the filled price of 10,000 USDT. This order uses position asset of 25,000 USDT to pay off the liability of 2 BTC. The remaining 0.5 BTC will be transferred to BTC single-currency account balance. Although the liability is paid off, the position is not closed yet with a position asset of 5,000 USDT.2.Published on Jun 17, 2022Updated on Nov 6, 2025Product documentationSpot DCA (Martingale)
For example, with a safety order amount = 100 USDT, multiplier = 2. Safety orders will be placed: 100 = (2^0 × 100) 200 = (2^1 × 100) 400 = (2^2 × 100), et cetera Price steps multiplier: Applied to the price step for placing the next safety order. It increases or decreases the price gap between safety orders. For example, with a price step = 1%, multiplier = 2.Published on Apr 27, 2023Updated on Aug 5, 2025Product documentationHow can I do spot trading with the Jupyter Notebook?
acctLv == "2": 14 print("Single-currency margin mode") 15 elif acctLv == "3": 16 print("Multi-currency margin mode") 17 elif acctLv == "4": 18 print("Portfolio margin mode")10.Published on Sep 29, 2023Updated on Sep 10, 2025FAQ540Futures DCA (Martingale)
For example, with a safety order amount = 100 USDT, multiplier = 2. Safety orders will be placed: 100 = (2^0 × 100) 200 = (2^1 × 100) 400 = (2^2 × 100), et cetera Price steps multiplier: Applied to the price step for placing the next safety order. It increases or decreases the price gap between safety orders. For example, with a price step = 1%, multiplier = 2.Published on Apr 27, 2023Updated on Oct 9, 2025Product documentationPortfolio margin mode: cross-margin trading (Risk Unit Merge)
Example: If the USDT-USD hedging volume is 10,000,000 USD, and USDT/USD = 0.985 (falling under tier 3), then MR9 is calculated as follows: Tier 1 factor value: 0.5% + (0.99 – 0.985) / 1% × (1% – 0.5%) = 0.75% Tier 2 factor value: 1.5% + (0.99 – 0.985)/ 1% × (2% – 1.5%) = 1.75% Tier 3 factor value: 2% + (0.99 – 0.985) / 1% × (3% – 2%) = 2.5% MR9 = 1,000,000 (max amount considered in tier 1) × 0.75% + 4,000,000 (max amount considered in tier 2) × 1.75% + 5,000,000 × 2.5% = 202,500 USDNote: For eachPublished on Dec 3, 2024Updated on Dec 4, 2025Product documentationAddress type upgrade FAQ
Example 1: Entry 1: (Standard) Address A Entry 2: (Universal) Address A These addresses will be merged to Entry 2, which allows withdrawals of any crypto selected for a specific network, based on compatibility. Example 2: Entry 1: (Standard) Address A Entry 2: (Universal) Address A Entry 3: (EVM) Address A These addresses will be merged to Entry 3, which allows withdrawals of any crypto selected for EVM compatible networks.How does the verification period works after the address type upgrade?Published on Aug 26, 2025Updated on Dec 30, 2025FAQ858Interest Calculation
Interest-free quota Interest-free limit Asset Interest-free limit USDT 20000USDT+Max(0,Cross equity of USDC) USDC 5000 BTC 1 LTC 10 ETH 5 ETC 2000 XRP 5,000 EOS 500 BCH 5 BSV 5 TRX 30,000 LINK 50 DOT 50 ADA 500 ALGO 500 ATOM 20 CRV 100 FIL 10 DASH 2 IOST 10,000 IOTA 500 KNC 200 NEO 10 ONT 300 QTUM 100 THETA 100 SUSHI 30 SUN 20 XLM 1,000 UNI 20 XMR 2 XTZ 100 ZEC 2 YFI 0.01 YFII 0.1 Notes: The maximum interest-free range is calculated on a per-account basis, which means each main account or sub-accountPublished on Dec 16, 2020Updated on Nov 6, 2025Product documentationIceberg strategy
When the last market price exceeds 2*(Price variance), the previous order would be canceled, and a new one will be placed. When the total trading volume equals its total amount, the bot will stop the order and end its operation.Published on Jun 17, 2022Updated on Apr 1, 2025Product documentationAnnouncement from OKX regarding the delay of Hyperliquid (HYPE) listing
HYPE pre-open will take place from 1:00 pm to 2:00 pm UTC on Nov 4, 2025. HYPE/USDT spot trading will open at 2:00 pm UTC on Nov 4, 2025. HYPE withdrawals will open at 2:00 am UTC on Nov 5, 2025. Risk warning: The foregoing overview and information, some of which may be provided by third parties and not OKX, are for informational purposes only.Published on Nov 3, 2025Updated on Nov 17, 2025AnnouncementsBasic order types
Place another reduce-only order and the total amount of all orders exceed the position size. 100 contracts, buy Sequence 1:17,000 (price), 80 contracts, sell, reduce-only Sequence 2:18,000 (price), 20 contracts, non-reduce-only Reduce-only order to sell 50 contracts at 16,000 Order placed. Order 1's amount will be modified to 50 contracts and order 2 will remain.Published on Jun 16, 2022Updated on Dec 1, 2025Product documentationRecurring Buy
Backtesting of last 2 years: when the sum of the crypto allocation equals to 100%, the bot will calculate the annual percentage yield using the given parameters within 2 years timeframe. 3. Risk reminder and notes At each investment cycle, the fund will be isolated from your trading account and used independently in the Recurring buy bot. In case of insufficient funds, the Recurring buy bot will be halted until the available fund is allocated in the trading account for the next investment cycle.Published on Jun 17, 2022Updated on Apr 1, 2025Product documentationOKX will launch MET/USDT for spot trading and convert pre-market futures to standard perpetual futures
Please take note of the following details:Listing timeline MET call auction will take place from 1:00 pm to 2:00 pm UTC on Oct 23, 2025. MET/USDT spot trading will open at 2:00 pm UTC on Oct 23, 2025. MET premarket futures will be converted to standard perpetual futures within 3 hours starting 2:00 pm UTC on Oct 23, 2025 . The conversion will be completed once the index remains stable during this period. MET withdrawals will open at 5:00 pm UTC on Oct 23, 2025.Published on Oct 23, 2025Updated on Feb 11, 2026AnnouncementsZero-Knowledge Proofs: what are zk-STARKs and how do they work? (zk-STARK V1)
As specified in number 2, the times of sampling inspections will affect the chance of tampering or manipulation succeeding. 5. Generating low-degree proof: we can control the probability of tampering or manipulation success through sampling inspection. However, there is a condition as mentioned in number 2 that we need to ensure the polynomial degree being verified is not more than the degree of a valid polynomial.Published on May 10, 2023Updated on Sep 8, 2025FAQ178