All
FAQ
Announcements
Product documents
How can I do spot trading with the Jupyter Notebook?
Learn how you can do simple Spot trading by calling the functions in the python-okx library on a Jupyter Notebook.1. How can I run Python code snippets on a Jupyter Notebook? The Jupyter Notebook is an incredibly powerful and easy-to-use tool for Python development and data analysis. You can run a Jupyter Notebook server on Windows, Mac OS or Linux. This tutorial provides a pretty comprehensive guide on how to get a Jupyter Notebook up and running.2. How can I install the python-okx package?Published on 29 Sept 2023Updated on 29 May 2026561Zero-Knowledge Proofs: what are zk-STARKs and how do they work? (zk-Stark V2)
., acc1023) as inputs and generates 3 main outputs: a hash (hbatch), a total equity value (ebatch) , and a total debt value (dbatch).Published on 21 Oct 2024Updated on 11 Feb 202694How do I automate my trades?
Set up your development environment: use programming languages like Python, JavaScript, or others to create your trading bot. Connect to the API: utilize OKX’s API documentation to connect your bot to the exchange. Develop and test your strategy: write your trading logic, backtest it with historical data, and test in a simulated environment. Deploy and monitor: once satisfied with the performance, deploy the bot and monitor its activity regularly.Published on 1 Oct 2024Updated on 29 May 202612How do I unlock my deposit when the Travel Rule additional verification is required?
If your deposit is from the exchange platform Select the exchange platform name that your deposit is from in the Exchange platform field Input your sender's legal name in the First name and Last name field, then select Submit Note: if you're the sender or buyer of crypto assets, you can select I'm the sender checkbox.Published on 29 Apr 2024Updated on 29 May 2026205How do I enable allowlist? (app)
Notes: Under Withdrawal Allowlist: You can only withdraw to addresses in the Address Book; manual input of new addresses is disabled. After turning off Whitelist Mode: Manual input of new addresses is allowed again. Whitelist vs. No-Verification Address: These settings are independent and do not affect each other. New Address Withdrawal Lock: If New Address Lock is enabled, newly added whitelist addresses cannot be used for withdrawals for 24 hours, adding extra security.Published on 14 Aug 2023Updated on 29 May 20261,942How to add personalized messages for custom price alerts?
Navigate to the chart of the specific asset and select the Alerts option by selecting the bell icon above the trading chart to access the price alerts feature Start by selecting the Alerts option Select Create alerts or select an existing alert you want to edit Proceed to select the alert of your preference or the Create alerts option Set the Price and enter the price point that will trigger the alert Proceed to select the alert of your preference or the Create alerts option In the designated field, inputPublished on 6 Feb 2025Updated on 29 May 20264Building RFQs
This opens a menu for fields that take on specific values (expiry date or strike price), a text input for numerical values (quantity), or a button to flip values that can only take binary input (buy vs sell, put vs call, USDT vs Coin margined). The other is to either select on the value in the "product" column" or tab "add leg" below the final leg of your strategy.Published on 30 Jun 2022Updated on 2 Jun 202631How do I reverse my trading position with one tap?
Minimize execution errors: reversing a position manually could lead to mistakes in quantity or price input. One-tap reverse reduces that risk by automating the action with default precision. More opportunities for fast strategies: perfect for scalpers and breakout traders who depend on rapid decisions and minimal downtime between positions.How do I use one-tap reverse?Published on 5 Jul 2025Updated on 29 May 202610OKX AI 101
Trained on massive amounts of text, it learns to predict the most likely next token given an input. ChatGPT, Claude, and Gemini are all built on this principle. Key Concept: a Token is the basic unit of text processed by LLMs, roughly 0.75 English words. The Context Window determines how much information the model can 'remember' at one time. Transformer architecture: Uses self-attention to understand relationships between all words in a sentence.Published on 4 May 2026Updated on 29 May 20264Crypto available for withdrawal FAQ
Follow these steps to get there: Step 1: navigate to the withdrawal page of your chosen crypto Step 2: select See details found under the withdrawal amount input Step 3: on the Unavailable for withdrawal page, select Learn more about calculationsI want my funds immediately. How does this relate to my crypto available for withdrawal? Funds unavailable for withdrawal may still be available for bank account withdrawal.Published on 25 Jan 2024Updated on 29 May 20263,695How do I migrate my email address or phone number to another account? (app)
Select Next to continue Read the information carefully and check the agreement boxes Confirm account closure by selecting Close account and then Yes, I'm sure to confirm the request Input your 2FA code to finalize the migration Note: Transfer all assets before migrating the phone number from the other account, which will be closed to prevent data and asset loss. You're not allowed to withdraw your assets after the account is closed.Published on 22 Aug 2023Updated on 29 May 2026595What can I do if my device is running in an unsafe environment?
Trojan horse viruses are likely to be present in browsers and input method applications.What should I do if my account is automatically logged out on the PC (requires device time calibration)? For the security of your account, we recommend calibrating your device time and then trying to log in again. If the issue persists, please check and adjust your device’s time settings.Published on 19 Jan 2023Updated on 29 May 2026301How can I complete a Satoshi test with UTXO-based wallet?
Use your wallet's "Coin Control" or equivalent feature to ensure the UTXO is selected as the transaction input comes from the whitelisted address, and not from a different address in the same wallet. Important: If you perform a Satoshi test with an address that has never received funds, the test can't be completed successfully. The address must already hold a UTXO before the test transaction is created. How do I use Coin Control to select the right UTXO?Published on 14 May 2026Updated on 29 May 2026How do I set up indicators on the chart?
For indicators, you can show or hide names, input parameters, values, and background highlights on hover. Scales and lines — controls the price scale, labels, and time axis. Use Scale modes to set when the price cursor tag is visible: Visible on mouse over, Display always, or Never display. You can also set scales placement, enable a countdown to bar close timer, and adjust the date and time format on the time axis. Canvas — controls the chart's visual style.Published on 30 Nov 2024Updated on 29 May 202615How do I migrate my email address or phone number to another account? (web)
Select Next to continue Read the information carefully and check the agreement boxes Confirm account closure by selecting Close account and then Yes, I'm sure to confirm the request Input your 2FA code to finalize the migration Note: Transfer all assets before migrating the phone number from the other account, which will be closed to prevent data and asset loss. You're not allowed to withdraw your assets after the account is closed.Published on 22 Aug 2023Updated on 29 May 2026393