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 29 Apr 2026Updated on 29 May 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 15 Feb 2024Updated on 29 May 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.Published on 20 Jun 2022Updated on 29 May 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 4 May 2026Updated on 29 May 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 20 Jun 2022Updated on 29 May 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 7 Nov 2023Updated on 29 May 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 3 Jul 2024Updated on 29 May 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 26 Sept 2022Updated on 29 May 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 16 May 2024Updated on 29 May 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 17 Jun 2022Updated on 29 May 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 16 Dec 2020Updated on 29 May 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 28 Dec 2020Updated on 29 May 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 29 Dec 2020Updated on 29 May 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 1 Jun 2023Updated on 29 May 2026Product documentationThe official launch of the real-time settlement function for ALGOUSD, ATOMUSD and other Coin-margined Perpetual Swaps
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. The profit shown on the position after the real-time settlement is the unrealized profit and loss from the opening of the position to the current time; 3.Published on 12 Jan 2021Updated on 29 May 2026Announcements