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 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 documentationSpot cost price
Average cost price Average cost price = ( 3000*1 + 4000*1 ) / 2 = 3500 PnL = (4500 - 3500) * 2 = 2000 PnL Ratio = (4500 - 3500)/3500 * 100% = 28.6% Cumulative Cost Price Cumulative Cost Price = ( 3000*2 + 4000*1 - 3500*1 ) / 2 = 3250 PnL = 2*4500 - (2*3000+1*4000) + 1*3500 = 2500 PnL Ratio = 2500 / (2*3000+1*4000 - 1*3500 ) * 100% = 38.5% 2.3 Important Notes The spot cost price data range is effective from November 6, 2020, and the following scenarios will be included in the calculation: Spot tradingPublished on Jun 17, 2022Updated on Nov 6, 2025Product documentationTrading Signal Bot Alert Message 2.0 Specifications
Thereafter, your Active Investment will increase to 2000 USDT and this is the new value that will be used for your order size calculations. If you are unsure what your bot's current Active Investment value is, you can always check this under your Bot Details section.Published on Aug 30, 2023Updated on Apr 1, 2025Product documentationPortfolio margin mode: cross-margin trading (Risk Unit Merge)
Cash delta t (expiry futures or options with 1 day to expiry) = 3000 Cash delta t (expiry futures or options with 7 days to expiry) = 2000 MR5: interest rate risk (options only) Interest rate risk measures the risk of change in yield curve by populating a principal component analysis (PCA) style rate movement table.Published on Dec 3, 2024Updated on Dec 4, 2025Product documentation
Showing 1-5 of 5 articles