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 or deposit * Amount + Price of the last purchase or deposit * Amount) / Balance after the last purchase or deposit Note: price of the last deposit is the price at the moment of depositing7. How is the PnL calculated? PnL = (Last price - Average cost) * Current balance8. How is the PnL% calculated? PnL% = (Last price - Average cost) / Average cost9.Published on Apr 3, 2026Updated on Apr 6, 2026How 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, 202580What's Satoshi test and how do I complete it?
After the deposit is made, select the I've made the deposit option.Enter the address owner details for the Satoshi test After confirming the deposit, enter additional information about the address owner, for example, Country, First and Last name.Published on May 28, 2024Updated on Feb 17, 202664How 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, 20265A 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,470How to prevent phishing emails?
Knowing how to spot these emails is one of the best ways to protect your assets.How do phishing emails typically work? Scammers often send emails that look very similar to official messages. Their goal is to deceive you into taking actions that put your account at risk, such as clicking a malicious link or sharing sensitive information.Published on Jun 24, 2025Updated on Dec 16, 20253Understanding OKX's Security Fund
Understanding the OKX Security Fund As a digital asset exchange offering leveraged products, OKX is committed to maintaining a stable and fair trading environment. A key component of our risk architecture is our Security Fund. This article explains the Security Fund's purpose, structure, funding mechanism, and outlines critical disclaimers regarding its operation.1. What's the Security Fund? The Security Fund is a segregated pool of assets, established and fully owned by OKX.Published on Mar 25, 2026Updated on Apr 24, 20264How PnL works in X-Perps?
This article explains how PnL (profit and loss) works in X-Perps, so you can understand what your account is showing and why your net result may differ from the raw price move. In X-Perps trading, PnL (profit and loss) is commonly shown in two forms: unrealized PnL and realized PnL.What's unrealized PnL in X-Perps? Unrealized PnL is the gain or loss in an open position based on current pricing.Published on Apr 9, 2026Updated on Apr 21, 2026How to stake and redeem ETH with EigenLayer?
You can check your order details to see how long it'll take for your crypto to land back in your portfolio.Published on Jul 14, 2025Updated on Nov 17, 20252How does fast redemption work?
You receive 50 ETH. 50 ETH Day 6 - 9: Partial redemption Over the next 4 days, you receive 100 ETH daily. 450 ETH Day 10: Full redemption On the last day of the standard redemption period, all outstanding crypto are settled all at once. You receive 150 ETH, even though it exceeds the daily individual limit. 600 ETHHow can I use fast redemption? If fast redemption is available for an Onchain Earn product, simply redeem as usual to enjoy the feature.Published on May 8, 2025Updated on Mar 4, 2026184How to avoid deposit of unsupported tokens?
When making a deposit, ensure that the token you select is supported on our platform. To avoid depositing unsupported tokens, here are some suggestions: Review the supported token list Before depositing, visit our website to check the latest list of supported tokens. Ensure that the token you choose is on this list. Check deposit information If you are unable to select the corresponding token,...Published on Oct 16, 2024Updated on Feb 12, 2026408