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 2025540Zero-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 2025178How 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,235OKX 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. Please refer to the actual result.Published on 20 Sept 2024Updated on 3 Mar 2026127Trading 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 3 Mar 20261,070
Showing 1-5 of 5 articles