All
FAQ
Announcements
Product documents
What is Agent Trade Kit?
What is OKX Agent Trade Kit? OKX Agent Trade Kit is a toolkit that lets AI connect directly to the OKX platform to access real-time market data and execute trades. It works by translating complex trading interfaces into instructions that AI can understand and act on.How do I access Agent Trade Kit? Agent Trade Kit is only available on the web. Go to Trade > Agent Trade Kit.What can Agent Trade Kit do?Apr 29, 2026Published on Apr 29, 2026Aug 26, 2026Updated on Aug 26, 2026FAQ8OKX Brasil x McLaren Racing Trading Campaign
Promotion Details Tier 1 (4 kits): Users who trade between R$ 500,000.00 and R$ 999,999.99 in crypto assets from February 15, 2024 to March 15, 2024 will receive a kit containing the official McLaren cap, official McLaren t-shirt, and official McLaren bag.Feb 15, 2024Published on Feb 15, 2024Aug 7, 2026Updated on Aug 7, 2026AnnouncementsCalculation of option's profit and loss
Options value Options value = total positions * mark price * contact multiplier * contract value P&L Unrealized profit or loss of current position P&L = (mark price - avg. open price) * total positions * contract multiplier * contract value P&L ratio P&L of long positions = (mark price – avg. open price) / avg. open price P&L of short positions = (avg. open price - mark price) / avg. open price Initial margin The initial margin for long positions is 0.Jun 20, 2022Published on Jun 20, 2022Aug 5, 2026Updated on Aug 5, 2026Product documentationOKX AI 101
Learn more here: Quick Guide to AI Trading BotGetting Started with Agent Trade Kit The OKX Agent Trade Kit is an open-source toolkit that connects AI assistants directly to your OKX account via MCP (Model Context Protocol). Simply describe what you want in natural language — the AI calls the right tools and executes it. Learn more here: What is Agent Trade Kit?Risk Management & Safety Before using AI for trading, proper safety setup is critical.May 4, 2026Published on May 4, 2026Aug 26, 2026Updated on Aug 26, 2026FAQ16Calculation of contract‘s profit and loss
. = total positions – positions of pending close orders P&L Unrealized profit or loss of current position (1) Coin-margined X-Perps swap P&L of long positions = face value * |number of contracts|* multiplier * (1 / avg. open price – 1 / mark price) P&L of short positions = face value * |number of contracts| * multiplier * (1 / mark price – 1 / avg. open price) (2) USD-margined X-Perps swapP&L of long positions = face value * |number of contracts| * multiplier * (mark price – avg. open price) P&LApr 21, 2026Published on Apr 21, 2026Aug 13, 2026Updated on Aug 13, 2026Product documentationHow to use Yield Hunter
Estimated P&L = 0.005 BTC - Investment Amount*Leverage*[(Index Price - 30,000) / 30,000] Earn unless price drops Product Deposit currency Estimated Yield P&L BTC30,000 or higher on 10/27 USDT 50USDT BTCUSD >=30,000 at settlement date Users enjoy a fixed return of 50 USDT BTCUSD <30,000 at settlement date The actual P&L is the difference between the 50 USDT earned and the loss between 30000 and the settlement price.Nov 7, 2023Published on Nov 7, 2023Aug 5, 2026Updated on Aug 5, 2026Product documentationHow do I use the liquidation price calculator?
Follow the steps below to make the most of your calculations.How do I calculate the required margin, P&L, and P&L ratio?Jul 3, 2024Published on Jul 3, 2024Aug 5, 2026Updated on Aug 5, 2026FAQ41OKX will list Manchester City Fan Token (CITY) for spot trading
OKX is Man City's Official Cryptocurrency Exchange Partner and the Official Training Kit Partner of Manchester City for the 2022/2023 season. Asset name: Manchester City Fan Token Ticker: CITY Contract: 0xf30d150250f5301ef34a0e4a64aafa93f242d87a Total Supply: 20,000,000 Circulating Supply: 3,816,723 (2022.09.26) Risk warning: Trading digital assets involves significant risk and may result in the loss of your invested capital.Sep 26, 2022Published on Sep 26, 2022Aug 5, 2026Updated on Aug 5, 2026AnnouncementsNotice on Upgrade to the Futures Cool-off Period
What's Changing Following this upgrade, the cool-off period will extend beyond web and app order placement to cover the following channels: REST API, WebSocket, third-party authorization (including Broker OAuth, Agent Trade Kit,etc.), trading bots, and more. Once the cool-off period is active, any orders to open or increase positions submitted through the above channels will be rejected. Orders to reduce or close positions are not affected.Jul 3, 2026Published on Jul 3, 2026Nov 12, 2026Updated on Nov 12, 2026AnnouncementsOKX to Adjust SNDK Spot, Perpetual Futures and X-Perp Products Due to Stock Split
The system will first settle the old position at the pre-adjustment Mark Price, converting unrealized P&L into realized P&L. A new position will then be opened at the adjusted Mark Price.Nov 9, 2026Published on Nov 9, 2026Nov 21, 2026Updated on Nov 21, 2026AnnouncementsSpot and futures cross margin mode
P&L Unrealized profit or loss of the current position.Calculation formula of P&L:1) Long positions with the trading currency serving as the margin currency, and the P&L is calculated in the trading currency.P&L = Total assets - (liability + interest) / mark price2) Long positions with the quote currency serving as the margin currency, and the P&L is calculated in the quote currency.P&L = Total assets * mark price - (liability + interest)3) Short positions with the quote currency serving as the marginJun 17, 2022Published on Jun 17, 2022Aug 5, 2026Updated on Aug 5, 2026Product documentationHow do I use the Account long/short ratio indicator?
L/S indicator and set your preference on the details before proceeding For App: select Trade > Spot > Chart (logo) > Indicators > Top Acc. L/S Learn more on how you can explore the chart trading layout here.May 16, 2024Published on May 16, 2024Aug 5, 2026Updated on Aug 5, 2026FAQ22Introduction to Simple Options
How Is Realised P&L Calculated When Closing Before Expiry?Oct 22, 2026Published on Oct 22, 2026Nov 16, 2026Updated on Nov 16, 2026Product documentationThe official launch of the real-time settlement function for contracts
There are the following changes on the real-time settlement contract page of the website and app: 1) Asset: The information of "Realized P&L" is no longer displayed, but the realized profit and loss generated by the transaction after the real-time settlement is still calculated in the account equity. 2) Position: The information of "Settlement price," "Settled earnings" and "Unrealized P&L" will no longer be displayed.Dec 28, 2020Published on Dec 28, 2020Aug 5, 2026Updated on Aug 5, 2026AnnouncementsCorporate Actions Handling Mechanism
Why did my entry price change and my unrealized P&L reset to zero? The old position's P&L has been settled, and the new position has been opened at the adjusted Mark Price. Your previous P&L has moved into realized P&L; it has not disappeared. For example, assume you hold a long position of 100 contracts, each representing one share, with an entry price of 80 USDT and a Mark Price of 100 USDT.Jun 23, 2026Published on Jun 23, 2026Nov 9, 2026Updated on Nov 9, 2026Product documentation