All
FAQ
Announcements
Product documents
How can I do spot trading with the Jupyter Notebook?
Note: for spot trading under "cash" tdMode, you mainly need to check the cashBal, frozenBal parameters for each ccy under details, and the totalEq parameter. 1 import okx.Account as Account 2 flag = "1" # live trading: 0, demo trading: 1 3 4 accountAPI = Account.AccountAPI(api_key, secret_key, passphrase, False, flag) 5 6 result = accountAPI.get_account_balance() 7 print(result)8. How can I access the four different account modes?Published on 29 Sept 2023Updated on 10 Sept 2025550What should I do if I mistakenly withdraw crypto via the wrong network?
For example, if you previously mistakenly selected ETH network for USDT, in this case, you should select USDT-ERC20 Select Copy to copy the deposit address 4. Return to your Web3 wallet, select Send > select crypto and network Select send in your Web3 wallet 5. Paste the deposit address you copied from your exchange account Paste your deposit address 6.Published on 17 Mar 2023Updated on 26 Jan 20265,565What are the rules for P2P order cancellation?
You'll be banned for 15 minutes, 30 minutes, 1 hour, 4 hours, or all day. It'll be cleared at 00:00 on the same day. Trigger Restriction Duration 1st time The number of cancellations reaches the upper limit of the day.Published on 16 Aug 2023Updated on 9 Apr 20261,772Why is my accessible balance lower than my funds unavailable for withdrawal?
USD value (Crypto asset) Accessible balance 20,000 (~20 ETH) Unavailable for withdrawal 60,000 (~1 BTC) (Protected value) 0 (Locked value) 60,000 (~1 BTC) Available for withdrawal 0 Stage 5: once the withdrawal confirmation is completed for the initial 1 BTC deposit, the funds under the unavailable for withdrawal portion are unlocked. The user is now able to withdraw 20 ETH.Published on 13 May 2024Updated on 3 Apr 2026344Zero-Knowledge Proofs: what are zk-STARKs and how do they work? (zk-STARK V1)
For example, in Figure 1, the user with an id of id_k will calculate hashk = hash("20" + "15" + "5" + "id_k" + "99821"), and the other data in the red square frame will be the Merkle path verification. An open source tool is provided for users to do this verification. Since the leaves of the Merkle tree are hashes, none of your private information will be leaked to others.How do I verify? 1.Published on 10 May 2023Updated on 8 Sept 2025179Trading Fee Rules FAQ
For example, in a BTCUSDT perpetual contract, if your current position value is 20,000 USDT with a floating profit of 15 USDT, the opened trading fee is -4 USDT, the closed trading fee is -5 USDT, and the funding fee is -1 USDT. After closing the position, your realized profit will be 5 USDT (= 15 USDT – 4 USDT – 5 USDT – 1 USDT). For margin trading, only the closed profit is recorded, without realized profit, so the profit when holding and after closing the position remains consistent.14.Published on 22 Mar 2024Updated on 9 Apr 20261,077What should I do if facial recognition fails?
Note: if you forget the cloud backup password, you won't be able to restore the keyless wallet from the cloud.4. Other issues If you can’t tap video verification, complete identity verification on the web first, then return to the app for facial recognition. If you reach the maximum number of attempts, wait 1 hour before trying again. Make sure your full face is visible and the camera is not blocked.5.Published on 11 Oct 2024Updated on 6 Apr 2026434Affiliate FAQ
The invitee’s rebate rate ranges from 0% to 20%.5. How can invitees check trading fee rebate records?Published on 4 Dec 2024Updated on 6 Apr 2026722How can I do derivatives trading with the Jupyter Notebook?
() print(result) if result['code'] == "0": acctLv = result["data"][0]["acctLv"] if acctLv == "1": print("Simple mode") elif acctLv == "2": print("Single-currency margin mode") elif acctLv == "3": print("Multi-currency margin mode") elif acctLv == "4": print("Portfolio margin mode")5.Published on 28 Sept 2023Updated on 12 Feb 2026195OKX P2P dispute handling rules
Notes: For all regions: orders above 1,000 USD, a (5% range) will be applied, and if the difference exceeds that, the order will be canceled. Applicable to Vietnam (VN) region only: 1,000 – 5,000 USDT: 3% range 5,000 – 30,000 USDT: 1% range Above 30,000 USDT: ≥ 300 USDT And if the difference exceeds respectively, the order will be canceled.5.Published on 28 Aug 2023Updated on 11 Mar 20261,111Unseen City Shirts - Blue Moon - NFT FAQ
They're stored on the internet, usually in a digital wallet for safety and security.4. How do I create an OKX Web3 wallet? Creating a wallet is a simple and free process. Here's a video of how you can create one.5. Why do I need to use a wallet? A wallet is a safe place to store your digital collectibles. Each wallet holds a unique address that only you can access. You can connect your OKX Web3 or compatible wallet.6. How long do I have to claim my Unseen City Shirts – Blue Moon NFT?Published on 25 Apr 2024Updated on 4 Dec 20252How do I enable allowlist? (web)
If your account is compromised, the extra layer of protection will prevent you from withdrawing funds to any unauthorized addresses.Getting started 1. Login to your account at okx.com, go to Assets > Withdraw 2. Select the crypto you'd like to withdraw > On-chain 3. You can either enter the address or select the address in your address book. If there's no address available, you can select Add address or Manage address book to add a new address to your address book. Open your address book 4.Published on 14 Aug 2023Updated on 12 Feb 2026417What are the advantages of using cross margin and isolated margin?
If you use the isolated margin mode and open a future with 5 BTC, only those 5 BTC are at risk. If your position faces liquidation, you will only lose the 5 BTC, and the other 5 BTC will remain unaffected. Isolated margin can help reduce risk.2. Advantages of cross margin: Shared margin increases funds utilization. Under cross margin, positions in futures with the same settlement crypto share margin, and profits and losses offset each other, helping improve capital efficiency.Published on 20 Mar 2023Updated on 2 Apr 202641How do I close my account? (web)
If you wish to keep using your account, select Keep account If you still want to close your account, select Close account 4. Select Reason to close account Instead of closing your account, you can also select to: Freeze account Migrate account View tutorials Reason to close account page 5. Select Continue to close if you still want to close 6.Published on 22 Aug 2023Updated on 3 Apr 2026458Travel Rule FAQ
Your deposit will then be credited to your account after you have provided the supplementary information.4. What happens under the Travel Rule if I don't fill in the originator information for my deposit? Depending on your local law and regulations, your deposit may remain locked until you provide the information required of the person who sent you the fund.5. Why is my deposit under Travel Rule review? OKX will mark transactions for review from time to time.Published on 20 July 2023Updated on 5 Feb 2026803