All
FAQ
Announcements
Product documents
What's mark price vs last price vs index price?
Understanding the difference is important because different functions may rely on different prices.What's last price? The last price is the price of the most recent executed trade in the market. It's useful for: seeing recent trade activity charting and short-term market behaviourWhat's index price? The index price is a reference price derived from external spot market sources.Published on Apr 15, 2026Updated on Apr 20, 2026How 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 7, 2026201Zero-Knowledge Proofs: what are zk-STARKs and how do they work? (zk-STARK V1)
How do I perform self-verification of Proof of Reserves (PoR)?2.1 Verify the zk-STARK Inclusion constraint**Verification Theory Following the STARK procedure, we'll calculate the execution trace table of all user assets as below, and hash each user's information as a trace table that becomes a Merkle tree leaf, then commit the leaves to a Merkle root which will be published during each PoR audit round.Published on May 10, 2023Updated on Sep 8, 2025179Crypto profit & loss analysis (PnL) FAQ
How is the average cost of a crypto asset calculated in Crypto PnL Analysis? Average cost = (Average cost before the last purchase * Amount + Price of the last purchase * Amount) / Balance after the last purchase7. How is the PnL calculated? PnL = (Last price - Average cost) * Current balance8. How is the PnL% calculated? PnL% = (Last price - Average cost) / Average cost9. How far back is the historical record of Crypto PnL analysis? The historical data is recorded from November 6, 2020.Published on Aug 22, 2023Updated on May 4, 2026105How do I know if anti-money laundering (AML) program questionnaire is needed for my verification?
It's a critical part of our commitment to responsible business practices and the protection of our platform’s ecosystem. How do I submit the anti-money laundering (AML) program questionnaire? Select Yes under the Additional info part on the Basic company info page Select Take questionnaire.Published on Dec 12, 2024Updated on Oct 15, 202580How can the OKX NFT Marketplace keep your NFT investments secured?
How secure is the OKX NFT Marketplace? In the fast-evolving world of NFTs (Non-Fungible Tokens), security is paramount. With the increasing popularity of Non-Fungible Tokens (NFTs), the risk of falling victim to scams and fraudulent transactions has also risen.Published on Nov 10, 2023Updated on Sep 12, 202520How do I protect myself from new types of phone scams?
They then attempt to lure users into transferring their assets, ultimately committing fraud. These activities are highly deceptive, please stay vigilant and do not trust such claims. How do I identify and prevent:1. Be cautious of unknown calls and verify the identity of the caller.Published on Mar 21, 2025Updated on Feb 4, 2026What does OKX NFT Marketplace offer but other platforms don't?
Let's delve deeper into the multifaceted features that distinguish OKX from its counterparts across various crucial functions.Order execution mastery OKX's commitment to empowering users is exemplified through its robust standalone app trading feature. This feature not only provides unparalleled control over trades but also signifies a commitment to user-friendly interfaces.Published on Dec 27, 2023Updated on Sep 12, 202524How 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 Sep 29, 2023Updated on Sep 10, 2025557How do I level up my trades with Mizar?
How do I connect OKX to Mizar? Learn more on how you can create your OKX API key and how to connect it to the Mizar bot by reading about it here.Published on Mar 28, 2024Updated on Jan 2, 20265How can I boost my OKX P2P ads completion rates?
It signifies your unwavering commitment to fulfilling transactions promptly and efficiently, instilling confidence in your reliability as a trading partner. A high completion rate not only underscores your professionalism but also fosters a positive reputation, paving the way for seamless interactions and mutually beneficial exchanges.Published on Apr 18, 2024Updated on Mar 24, 202656What's P2P price widget?
How do I edit the P2P widget?Published on Sep 22, 2025Updated on Nov 17, 202526How do I prevent self-trade and improve my API trading efficiency and protection?
Visit OKX's API page and explore the extensive API documentation to learn more about how to leverage this powerful tool to enhance your trading journey.Published on Jun 11, 2024Updated on Apr 3, 202611A beginner's guide to identity verification
the last 3 months by your state or local government, your employer's Human Resources or finance department, and university or college10.Published on Sep 25, 2023Updated on Apr 30, 20266,470Lead traders FAQ
How do I calculate lead trader's assets under management (AUM)?Published on Sep 6, 2023Updated on May 19, 2026121