All
FAQ
Announcements
Product documents
Interest 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 documentationTrading Fee Rules FAQ
Trader A (Maker fee: 0.02%; Taker fee: 0.03%) bought 100 contracts of call options (notional is 1 BTC): If trader A is the taker when order filled, so the Trading fee = Min(0.03% × 0.01 × 1 × 100, 7% × 0.05 × 0.01 × 1 × 100) = 0.0003 BTC; If trader A is the maker when order filled, so the Trading fee = Min(0.02% × 0.01 × 1 × 100, 7% × 0.05 × 0.01 × 1 × 100) = 0.0002 BTC.Published on Mar 22, 2024Updated on Mar 3, 2026FAQ1,071Spot cost price
Average cost price Average cost price = 3000 PnL = (4000-3000)*1 = 1000 PnL Ratio = (4000 - 3000)/3000 * 100% = 33.3% Cumulative Cost Price Cumulative Cost Price = (2*3000 - 1*3500)/1 = 2500 PnL = 4000*1 - 2*3000 + 1*3500 = 1500 PnL Ratio = 1500 / (2*3000 - 1*3500) * 100% = 60% Scenario 3:On Day 3, you buy 1 more ETH at a price of 4000, and the last price is now 4500.Published on Jun 17, 2022Updated on Nov 6, 2025Product documentationTrading Signal Bot Alert Message 2.0 Specifications
] in %) percentage_investment (floating value between [0.01, 100] in %) percentage_position (floating value between [0.01, 100] in %) 1.Published on Aug 30, 2023Updated on Apr 1, 2025Product documentationQuick Margin Trading Rules
level calculated using the maintenance margin requirement of the lowest tier is less than or equal to 100%.Published on Nov 16, 2022Updated on Aug 15, 2025Product documentationHow do I buy crypto and earn rewards?
You can earn up to $50 in BTC by following these steps: Opt in to the campaign through the app Buy $100 or more of any eligible crypto to get your first $5 in BTC reward Keep buying $100 or more for 4 more days in a row (total of 5 days) to get an additional $45 in BTC rewardWhat counts as an "eligible crypto" buy? To make sure your purchase counts toward your reward: Buy any coin except stablecoins: this offer excludes stablecoins like USDT, USDC, and USDG.Published on Dec 29, 2025Updated on Jan 29, 2026FAQ3Smart Arbitrage
It is recommended that novice users hold their arbitrage positions for a longer period. 3.2.2 Basis Change Cost between Spot and Perpetual Swap: For example, if the spot price is 65,000 and the perpetual swap price is 64,900, the entry basis is -100. If, at the end of the strategy, the spot price is 69,000 and the perpetual swap price is 69,100, the exit basis is 100. Therefore, you will incur a loss due to the widening basis of -[100 - (-100)] = -200 points * Qty.Published on Aug 8, 2024Updated on Mar 11, 2026Product documentationIceberg strategy
He can set an iceberg order Bot Parameters Range - Ratio (Price Variance): 0.1% Price limit: 20,000 USDT Average amount: 2 BTC Total amount: 100 BTC Run the Bot The system will automatically place an iceberg order. The order price will be the latest buy price*(1-Price variance 0.1%), and the amount of each order will be 50% to 100% of the average amount. Once the order completely filled, a new order will be placed.Published on Jun 17, 2022Updated on Apr 1, 2025Product documentationOKX Enhanced Liquidity Program
Here is an example below: Priority sequence Time Order ID Type Ask price Quantity 1 9:02 Order02 Limit 100 200 2 9:03 Order03 Limit 100 200 3 9:01 Order01 ELP 100 200 Order visibilityOpenAPI order book ELP orders will be excluded from the current order book REST endpoints or WebSocket channels.Published on Nov 26, 2025Updated on Jan 13, 2026Product 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 documentationWhat's the Spot DCA bot and how do I use it?
Let’s assume: Base safety order amount = 100 USDT Up to five safety orders allowed Here’s how the bot distributes funds for different multipliers: Safety Order Multiplier = 1 (Flat) Multiplier = 2 (Doubling) Multiplier = 0.5 (Halving) 1 100 100 100 2 100 200 50 3 100 400 25 4 100 800 12.5 5 100 1,600 6.25 Here’s what these profiles mean: Multiplier = 1 (Flat Allocation): each safety order uses the same amount — 100 USDT.Published on Oct 3, 2025Updated on Nov 17, 2025FAQ4Borrow in spot mode
If the user borrows the equivalent of 1,100,000 USDT in BTC and the maintenance margin ratiodrops below 100%, the system will partially liquidate by reducing the borrowing amount to the equivalent of 1,000,000 USDT in BTC, thus lowering the borrowing to the next tier. This cycle will keep continuing until account maintenance margin ratio >100% Conclusion Borrow in Spot Mode offers robust risk management through clearly defined rules for order cancellation and liquidation.Published on Sep 19, 2024Updated on Nov 18, 2025Product documentationHow can I do spot trading with the Jupyter Notebook?
In the example below, you are about to place a market order to buy BTC that is worth 100 USD. 1 # market order 2 result = tradeAPI.place_order( 3 instId="BTC-USDT", 4 tdMode="cash", 5 side="buy", 6 ordType="market", 7 sz="100", 8 tgtCcy="quote_ccy" # this determines the unit of the sz parameter. 9 ) 10 print(result)10.4 How can I use the client order ID parameter clOrdId?Published on Sep 29, 2023Updated on Sep 10, 2025FAQ542Futures 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 documentationHow to set up an OKX Signal Trading bot with TradingView
%fZ'), "maxLag":"2000", "orderType":"market", "orderPriceOffset":"0.1", "investmentType":"percentage_position", "amount":"100" } # exit long demo, closing 100% open postion signaldata_exitlong = { "action":"EXIT_LONG", "instrument":symbol, "signalToken":"your signaltoken", "timestamp":datetime.datetime.utcnow().strftime('%Y-%m-%dT%H:%M:%S.Published on Aug 30, 2023Updated on Dec 3, 2025Product documentation