All
FAQ
Announcements
Product documents
How can I do spot trading with the Jupyter Notebook?
15.1 For the last 7 days For more information on how to access the order history for the last 7 days, please read our dedicated guide. 1 result = tradeAPI.get_orders_history( 2 instType="SPOT" 3 ) 4 print(result)15.2 For the last 3 months For more information on how to access the order history for the last 3 months, please read our dedicated guide. 1 result = tradeAPI.get_orders_history_archive( 2 instType="SPOT" 3 ) 4 print(result)16.Published on 29 Sept 2023Updated on 10 Sept 2025553Zero-Knowledge Proofs: what are zk-STARKs and how do they work? (zk-STARK V1)
We implement the extension_factor default as 16 and the sampling inspection default time as 16, so the security level will be 80 bits. Polynomial commitment: we calculate the hash value of the computation trace and corresponding user balance, user ID, and the value of the corresponding constraint polynomial for each row, and generate a Merkle tree. The Merkle root is the commitment value of the polynomial. Generating sampling proof: using the Merkle root as a random source, we sample the data.Published on 10 May 2023Updated on 8 Sept 2025179How do I create passkeys? (web)
You can reset the existing passkey or add a new one before removing any passkeys you no longer wish to keep.Create a passkey Before you create a passkey, make sure you at least have: A device with Windows 10 or macOS Ventura, or A mobile device running iOS 16.0.0 or Android 7.0 or later, or A USB security key that supports the FIDO2 protocol Make sure you're using a FIDO-supported browser with: Chrome 109 or above Safari 16 or above Edge 109 or above Log in to your account at okx.com and go to ProfilePublished on 16 Aug 2023Updated on 29 Jan 20264,270Event Contracts FAQ
Example: A user holds 500 Up shares for the event “Will BTC be above 85,000 USDT before 16:00?” At 16:00, the OKX index price = 85,312 USDT (above 85,000 USDT): Settlement result: Up wins Auto-credited to account (before fee deduction): 500 × 1.00 = 500.00 USDTHow does the platform handle disputed results? If there is a dispute over the settlement result, the platform will handle it through a review process. Triggering a review may delay settlement.Published on 16 Apr 2026Updated on 24 Apr 2026OKX API FAQ
50004 is usually caused by excessive server pressure. 8, 16, and 24 am are the time points for collecting capital fees every day. At this time, the server pressure is high. It's recommended to stagger transactions at these times. If an error of 50004 is reported at other times, it can be retried later. If an order is placed with an error of 50004, it doesn't represent the actual result of the interface request. The request may succeed or fail.Published on 20 Sept 2024Updated on 20 Apr 2026137Trading Fee Rules FAQ
Trader A became a maker of this trade, so the Trading fee = 0.08% × 20,000 = 16 USDT, and A will receive 19,984 USDT after fee deducted.Published on 22 Mar 2024Updated on 15 Apr 20261,081
Showing 1-6 of 6 articles