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?Published on Apr 29, 2026Updated on May 29, 2026FAQ3OKX 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.Published on Feb 15, 2024Updated on May 29, 2026AnnouncementsCommodity Perpetuals
Your position remains open and unaffected — the rollover only changes which underlying futures contract the index references.Will the rollover affect my P&L? The rollover itself does not directly affect your P&L. However, when the market structure is in contango (next-month price > front-month price) or backwardation (next-month price < front-month price), the index price may shift as the reference transitions.Published on Apr 15, 2026Updated on May 29, 2026Product documentationCalculation 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.Published on Jun 20, 2022Updated on May 29, 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.Published on May 4, 2026Updated on May 29, 2026FAQ4Futures PnL calculation rules
. = total positions – positions of pending close orders P&L Unrealized profit or loss of current position (1) Coin-margined futures/perpetual 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) USDT-margined futures/perpetual swapP&L of long positions = face value * |number of contracts| * multiplier * (mark price –Published on Jun 20, 2022Updated on May 29, 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.Published on Nov 7, 2023Updated on May 29, 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?Published on Jul 3, 2024Updated on May 29, 2026FAQ39OKX 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.Published on Sep 26, 2022Updated on May 29, 2026AnnouncementsHow 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.Published on May 16, 2024Updated on May 29, 2026FAQ20Spot 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 marginPublished on Jun 17, 2022Updated on May 29, 2026Product documentationIntroduction to the isolated mode of Futures mode/Multi-currency/Portfolio margin
USDT-margined futures/perpetual swap P&L of long positions = face value * |contracts| * multiplier * (mark price – avg. open price) P&L of short positions = face value * |contracts| * multiplier * (avg. open price – mark price) P&L ratio P&L/initial margin liquidation price 1.Published on Dec 16, 2020Updated on May 29, 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.Published on Dec 28, 2020Updated on May 29, 2026AnnouncementsThe 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 include: 1) Asset: The information of "Realized P&L" is no longer displayed, and 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.Published on Dec 29, 2020Updated on May 29, 2026AnnouncementsManaged Trading Sub Account Feature on OKX
Will I be able to see the P&L of my Managed Trading Sub Accounts? You will be able to see the asset value in the account, however, P&L will not be provided. 4. Am I able to view the trading positions in the Managed Trading Sub Accounts? This permission is controlled by the trading team. If you want to be able to view your positions, please liaise with your trading team. 5. When will I obtain the trading fees of the trading team? It will take effect on the next day UTC +0Trading team: 1.Published on Jun 1, 2023Updated on May 29, 2026Product documentation