All
FAQ
Announcements
Product documents
Mark price and Last price
USDT-margined contract PnL of long positions = Contract size × |Number of contracts| × Multiplier × (Last price - Average entry price) PnL of short positions = Contract size × |Number of contracts| × Multiplier × (Average entry price - Last price) 3.Published on 16 June 2022Updated on 17 Nov 2025Product documentationProfit and loss calculation of margin
Margin mode of single currency account Profit and loss Long margin with base crypto, PnL is quoted with base crypto (using Mark price and Last price) Mark price PnL = Assets in position - (Debt + Interest) / Mark price Last price PnL = Assets in position - (Debt + Interest) / Last price Long margin with quote crypto, PnL is quoted with quote crypto (using Mark price and Last price) Mark price PnL = Assets in position * Mark price - (Debt + Interest) Last price PnL = Assets in position * Last pricePublished on 17 June 2022Updated on 6 Nov 2025Product documentationIntroduction to Options Expiration Dates
Monthly Expiries The monthly options will expire the last Friday of the month at 08:00 UTC. A new monthly expiry will be launched on the 3rd to last Friday of each month at 08:30 UTC. A monthly expiry will not be added if it already exists as a monthly/quarterly expiry. Quarterly Expires 3, 6, and 9 months quarterlies of the March, June, September and December cycle. The quarterly options will expire on the last Friday of each calendar quarter at 08:00 UTC.Published on 5 Sept 2023Updated on 1 Apr 2025Product documentationAnnouncement of historical data services scheduled maintenance
The affected Open API endpoints are: Endpoint name Endpoint path Order details GET /api/v5/trade/order (Only affects canceled and filled orders) Transaction details (last 3 days) GET /api/v5/trade/fills Transaction details (last 3 months) GET /api/v5/trade/fills-history Get bills details (last 7 days) GET /api/v5/account/bills Get bills details (last 3 months) GET /api/v5/account/bills-archive Order history (last 7 days) GET /api/v5/trade/orders-history Order history (last 3 months) GET /api/v5/tradePublished on 15 Mar 2024Updated on 17 Nov 2025AnnouncementsSpot cost price
buy × Amount + Price of last buy × Amount) / Net buying amount PnL = (Last price – Cost price) × Net buying amount PnL Ratio = (Last price – Cost price) / Cost pricePublished on 17 June 2022Updated on 6 Nov 2025Product documentationWhat are Source of Funds (SoF) and Source of Wealth (SoW)?
income (past 12 months) Accountant Letter Issued within the last 3 months with business ownership confirmation Distribution Record Shows recent profit withdrawals or distributions Others Issued within the last 3 months with compensation or business ownership confirmation Investment returns Investment Account Statement Issued within the last 3 months Retirement Account Statement Issued within the last 3 months Brokerage Statement Issued within the last 3 months Bank Statement Shows investment incomePublished on 24 Dec 2024Updated on 27 Mar 2026FAQ732Crypto profit & loss analysis (PnL) FAQ
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. How far back is the historical record of Crypto PnL analysis?Published on 22 Aug 2023Updated on 3 Mar 2026FAQ103OKX to implement limit price rules for spot and margin trading
last 2 minutes is calculated as follows: Spot trading data per second is obtained for the last 2 minutes, along with the spot index, and the mid-price per second is calculated.Published on 11 Dec 2023Updated on 2 Aug 2024AnnouncementsOKX will discontinue Shark Fin products soon
Starting from July 1, we will stop supporting the subscription and auto-renewal of Shark Fin products, according to the following schedule: For 1-day Shark Fin: The last chance to subscribe is before 9 am UTC on July 4. Auto-renewal is not supported. For 3-day Shark Fin: The last chance to subscribe is before 12 pm UTC on July 1. Auto-renewal is not supported. For 7-day Shark Fin: The last chance to subscribe is before 12 pm UTC on July 4. Auto-renewal is not supported.Published on 30 June 2025Updated on 3 July 2025AnnouncementsOKX to list bi-monthly 0126 and bi-quarterly 0628 for USDT and crypto-margined BTC futures
Monthly: the last Friday of each month at 8:00 am UTC Quarterly: the last Friday of each calendar quarter at 8:00 am UTC Weekly: every Friday at 8:00 am UTC Quarterly: the last Friday of each calendar quarter at 8:00 am UTC Listing time New futures contracts will be listed at 8:00 am UTC. Bi-weekly, bi-monthly, and bi-quarterly contracts will be listed.Published on 2 Nov 2023Updated on 17 Nov 2025AnnouncementsPrice limit rules
Average premium in the past 5 minutes is calculated as follows: Contract trading data per 200 milliseconds is obtained for the last 5 minutes, along with the spot index, and the mid-price per 200 milliseconds is calculated. Mid-price = (Best ask price + Best bid price) / 2. The mid-price minus the spot index is used as the premium basis per 200 milliseconds, and the average value of premiums over the last 5 minutes is calculated.Published on 16 June 2022Updated on 28 Jan 2026Product documentationHow can I do derivatives trading with the Jupyter Notebook?
How can I get order history for derivatives trading with the Jupyter Notebook via Get order history (last 7 days) and Get order history (last 3 months)? # Get order history (last 7 days) result = tradeAPI.get_orders_history( instType = "SWAP" ) print(result) # Get order history (last 3 months) result = tradeAPI.get_orders_history_archive( instType = "SWAP" ) print(result)12.Published on 28 Sept 2023Updated on 12 Feb 2026FAQ195OKX - Notice of Change of Index Constituents
For exmaple: XRP, EOS and BTG prices are calculated based on the weighted average of the last BTC prices of top exchanges, then converted to USD/RMB using OKX's current rate. BTC prices are calculated based on the weighted average of the last USD prices of top exchanges. As a global leading exchange in digital assets, it is the OKX's core value and mission that we are striving to offer a flexible, best-in-class, trading services for digital assets.Published on 18 Sept 2017Updated on 17 Nov 2025AnnouncementsAnnouncement on adding a new expiration date for crypto-margined BTC expiry futures
BTCUSD expiry futures overview Available expiration date 7 expiration dates Expiration date and time Weeklies: Friday at 16:00 (UTC+8) Monthlies: the last Friday of a month at 16:00 (UTC+8) Quarterlies: the last Friday of a calendar quarter (March, June, September, December) at 16:00 (UTC+8) Listing time New futures contract will be listed at 16:00 (UTC+8) every Friday Thank you for your continued support. OKX Team March 10, 2025Published on 10 Mar 2025Updated on 17 Nov 2025AnnouncementsHow do I unlock my deposit when the Travel Rule additional verification is required?
If your deposit is from the exchange platform Select the exchange platform name that your deposit is from in the Exchange platform field Input your sender's legal name in the First name and Last name field, then select Submit Note: if you're the sender or buyer of crypto assets, you can select I'm the sender checkbox.Published on 29 Apr 2024Updated on 18 Feb 2026FAQ194