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, 2026What'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 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 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,470Understanding 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 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, 20253Trading Fee Rules FAQ
For example, if a user’s last 30-day spot trading volume is 10,000,000 USD (meeting VIP 2), the total trading volume for perpetual and expiry futures in the last 30 days is 200,000,000 USD (meeting VIP 3), the last 30-day options trading volume is 5,000,000 USD (meeting VIP 1), the last 30-day spreads trading volume is 150,000,000 USD (meeting VIP 2), and the asset amount is 5,000,000 USD (meeting VIP 4), then the user enjoys the VIP 4 fee level, and all trading across instruments can enjoy the VIPPublished on Mar 22, 2024Updated on May 11, 20261,086How do I track the cost price of my spot trades?
How is the cost price calculated? The calculations are based on your spot trading history. You may choose to calculate by average entry cost or cumulative average cost in trading settings. Average cost price = (Average cost price before last buy × Amount + Price of last buy × Amount) / Net buying amount Cumulative Cost Price = (Cumulative buying value – Cumulative selling value) / Net buying amount Visit here to learn more.How do I track the cost price of my spot trades?Published on Sep 5, 2024Updated on May 5, 202628How 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, 20252