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 Sep 29, 2023Updated on May 29, 2026562What should I do if my withdrawal isn't successful?
The specific situations are as follows: Awaiting Withdrawal When you request a withdrawal on the platform, it goes through four stages: Withdrawal Request > Pending > Processing > Transferred Out. If your withdrawal is still in the "Withdrawal Request," "Pending," or "Processing" stages, it means the withdrawal hasn't yet been completed, and you should be patient.Published on Oct 17, 2024Updated on May 29, 2026271How can I do derivatives trading with the Jupyter Notebook?
How can I get transaction details for derivatives trading with the Jupyter Notebook via Get transaction details (last 3 days) and Get transaction details (last 3 months)? # Get transaction details (last 3 days) result = tradeAPI.get_fills() print(result) # Get transaction details (last 3 months) result = tradeAPI.get_fills_history( instType = "SWAP" ) print(result)13. How can I get positions for derivatives trading with the Jupyter Notebook via Get positions?Published on Sep 28, 2023Updated on May 29, 2026203Why hasn't my withdrawal arrived in the account?
On the App: Select Assets > Withdraw > Withdraw crypto from the pop-up menu > Select crypto > Select More (3-dot icon) at the top menu before selecting Withdrawal history from the pop-up menu or; Select Menu (9-dot icon) at the top menu > Select Withdraw > Select crypto > Select More (3-dot icon) icon at the top menu before selecting Withdrawal history from the pop-up menu to view withdrawal records for the past 90 days.Published on Aug 22, 2023Updated on Jun 9, 202620,989How do I set up indicators on the chart?
It has four tabs: OKX trading chart settings Symbol — controls candle appearance. Toggle the body, borders, and wicks on/off and set bullish and bearish colors. Enable Color bars based on previous close to color candles based on the previous candle's close instead of the current open. Status line — controls what shows in the chart's top bar. Toggle the symbol logo, title, OHLC chart values, and bar change values.Published on Nov 30, 2024Updated on May 29, 202615What is Agent Trade Kit?
Agent Trade Kit has four main features: Full-range trade execution — Supports spot, futures, margin, and options trading. Describe what you want in a natural language, and the AI analyzes your request and places the order automatically. For the full feature list, visit GitHub. Strategy parameter setup — Supports grid trading, DCA (Dollar-Cost Averaging), and algo orders. The AI can recommend and configure parameters automatically based on data like historical volatility.Published on Apr 29, 2026Updated on May 29, 20263How do I get started with OKX Trade?
For example, to trade $500 worth of ETH for DAI, the order is routed across four pools: UniswapV2(50%) Kyber (22%) Sushiswap (18%) 0x (10%)Best routing Smart order routing algorithms scan for all possible execution opportunities. For example, if you want to trade sUSD for ETH, a direct sUSD > ETH swap might not be the best option. In this case, it requires an sUSD > USDT/DAI swap and then a USDT/DAI > ETH swap to get the best rates.Published on Jul 26, 2022Updated on Jun 5, 202680How do Stock and Commodity X-Perps work?
There are 13 X-Perp markets across three categories: seven US tech stocks (AAPL, AMZN, GOOGL, META, MSFT, NVDA, TSLA), two ETFs (SPY, QQQ), and four commodities (GOLD, SILVER, WTIOIL, BRENTOIL), all as USD expiry futures.How is the OKX X-Perp price calculated? OKX constructs a proprietary Index Price for each X-Perp using multiple weighted sources.Published on Jun 9, 2026Updated on Jun 9, 2026How do I secure my exchange account?
You can review the completed and pending security items under the Security option.3. Activate security features Our users can secure their funds by activating the various account security measures shown on the Security option. Currently, there are six security features available to users, with the first two being the use of an account password and the account verification email mentioned above.Published on Jun 12, 2024Updated on May 29, 20261,352What are Source of Funds (SoF) and Source of Wealth (SoW)?
income (past 12 months) Accountant Letter Issued within the last 3 months with business ownership confirmation Distribution Record Shows recent profit withdrawals or distributions Others Issued within the last 3 months with compensation or business ownership confirmation Investment returns Investment Account Statement Issued within the last 3 months Retirement Account Statement Issued within the last 3 months Brokerage Statement Issued within the last 3 months Bank Statement Shows investment incomePublished on Dec 24, 2024Updated on Jun 5, 2026872Index components weightage adjustment FAQ
You may refer to the table below for the changes: Changes Before After 3 or more index components are available Components are weighted equally Components are weighted by their pre-set weighted values Component's price deviation limit The deviation limit was ±3%. If a component's price deviates more than 3% from the median price of all components, the component's price will be taken at 97% or 103% The deviation limit was updated from ±3% to ±2%.Published on Dec 14, 2023Updated on May 29, 202613USDG Convert Fees Change Announcement
If you hold USDG for only 3 days in a given week, you will receive rewards for those 3 days on the following Wednesday. Disclaimer This Rewards program is not (i) investment advice or an investment recommendation; (ii) an offer or solicitation, buy or sell crypto/digital assets; or (iii) financial, accounting, legal or tax advice. You should carefully consider whether trading or holding crypto/digital assets is suitable for you in light of your financial condition and risk tolerance.Published on Feb 20, 2026Updated on May 29, 20265How do I verify OKX's ownership and balance of the wallet address?
The balance of all addresses of ETH at the specified height is displayed based on the returned result The balance of all addresses of ETH at the specified height 3.Published on Sep 26, 2023Updated on May 29, 20261,004How do I check my deposit progress?
Select More (3-dot icon) option and select Deposit history to view the past transactions Select More to check deposit history 3. Select the deposit transaction that you want to check the progress. You'll see the deposit amount, deposit status, and deposit time on the details page 4.Published on May 21, 2026Updated on Jun 3, 2026How do I set a price alert?
Tap the three dots in the upper right corner 3. Go to Settings > Preferences > Trade notifications 4. Toggle different types of notifications on or off based on your needs On the Web: On the trading page, select the Settings icon Under Preferences, select the Trade notifications You can toggle different types of notifications on or off based on your needs There are several options for the type of sounds that you can select based on your preferencePublished on Apr 30, 2024Updated on May 29, 2026261