All
FAQ
Announcements
Product documents
How do I use the Account long/short ratio indicator?
What's the Account long/short ratio indicator? The Account long/short ratio indicator visualises the ratio of accounts with net long positions to those with net short positions. This is a sentiment analysis indicator. An indicator featuring a high long-short ratio signifies positive expectations among investors. The display of Account long/short ratio indicatorHow do I turn on the Account long/short ratio indicator?Published on May 16, 2024Updated on Feb 12, 2026FAQ18How do I use the Top account long/short ratio indicator?
Long/short ratio (Accounts) ratio is calculated as accounts with net long positions/ accounts with net short positions. The display of Top account long/short ratio indicatorHow do I turn on the Top account long/short ratio indicator?Published on May 16, 2024Updated on Nov 12, 2025FAQ21How do I use the Top position long/short ratio indicator?
Conversely, a dominance of short positions reflects a bearish sentiment, with traders expecting market declines due to concerns about economic or market stability. The display of Top position long/short ratio indicatorHow do I turn on the Top position long/short ratio indicator?Published on May 16, 2024Updated on Sep 10, 2025FAQ14OKX will list XANA’s XETA token for spot trading
It has many well-known IP NFTs, such as Astro Boy and Ultraman, based on which XANA will launch its GamFi project. Asset name: XANA Ticker: XETA Total Supply: 5,000,000,000 Circulating Supply: 125,000,000 (2022.07.20) Risk warning: Trading digital assets involves significant risk and may result in the loss of your invested capital.Published on Jul 19, 2022Updated on Nov 17, 2025AnnouncementsCalculation of option's profit and loss
As to initial margin of short positions, please refer to Introduction to the calculation of options margin. Maintenance margin The maintenance margin for long positions is 0. As to maintenance margin of short positions, please refer to Introduction to the calculation of options margin. 2. Multi-currency margin mode: cross margin Under the multi-currency margin mode: cross margin, the system only allows users to open short positions of options.Published on Jun 20, 2022Updated on Apr 1, 2025Product documentationOption Margin
IMR/MMR Type OKX (Unified Account, non-PM) (Per Coin) IMR IMR (Long) N/A1 Position IMR (Short) Max(a, b-OTM Amount3/same expiry forward mark price)*Margin Factor + Mark Price Sell to Open IMR (Short)2 Max (Position IMR - Order Price, Min Open Order Margin) Buy to Close positions (Short)2 Max (Order Price - Position IMR, 0) MMR MMR (Long) N/A1 MMR (Short Call) c * Margin Factor + Mark Price MMR (Short Put) max(c, c*Mark Price) * Margin Factor4 + Mark Price Index BTCUSD ETHUSD a 0.1 0.1 b 0.15 0.15Published on Jun 20, 2022Updated on Jun 20, 2025Product documentationInvestigation Report of Market Manipulation of ETC futures
At 20:51, 2055603 margin called long positions filled at 10.999 while 20115504. 7. 2155603 simultaneously open long and open short on 3rd Nov at 20:45 of 10642 contracts filled. The average cost of short position downed to $10.118. During the trading hour, the contract price up to 10.931 at 20:45. 2055603 short positions were margin called.Published on Nov 9, 2017Updated on Nov 17, 2025AnnouncementsHow do I turn on Hedge mode?
For example, if a trader holds a long-term long position but expects short-term price drops, they can open a short position to cover potential losses. This ensures they remain profitable or minimize downside risks while keeping their long-term investment intact.How do I enable hedge mode?Published on May 7, 2025Updated on Sep 10, 2025FAQ8Futures Leverage Settings Update
Current settings: For the same contract, a user can hold 10x and 20x positions simultaneously, whether they are long or short. It means that a user can hold up to 4 positions in the same contract: long-10x, long-20x, short-10x, short-20x. After adjustment: For the same contract, a user can only hold either 10x or 20x positions simultaneously for the same side. Therefore, if a 10x short position is opened, a user can still choose to open a 10x or 20x long position.Published on Mar 12, 2018Updated on Nov 17, 2025AnnouncementsCalculation of expiry futures contracts' profit and loss
x |Size| x Multiplier x(Close price - Entry price) Short positions PnL = Face value x |Size| x Multiplier x(Entry price - Close price) Settlement PnL Coin-margined contracts: Long positions PnL = Face value x |Size| x Multiplier x(1/Entry price - 1/Settlement price) Short positions PnL = Face value x |Size| x Multiplier x(1/Settlement price - 1/Entry price) U-stablecoin-margined contracts: Long positions PnL = Face value x |Size| x Multiplier x(Settlement price - Entry price) Short positions PnLPublished on Jun 20, 2022Updated on Nov 7, 2025Product documentationCalculation of contract‘s profit and loss
. = total – positions of pending close orders P&L Unrealized profit or loss of current position(1)Coin-margined futures/perpetual swapP&L of long positions = face value * |contracts| * multiplier * (1 / avg. open price – 1 / mark price)P&L of short positions = face value * |contracts| * multiplier * (1 / mark price – 1 / avg. open price)(2)USDT-margined futures/perpetual swapP&L of long positions = face value * |contracts| * multiplier * (mark price – avg. open price)P&L of short positions = facePublished on Jun 20, 2022Updated on Apr 1, 2025Product documentationMark 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 Jun 16, 2022Updated on Nov 17, 2025Product documentationHow can I do derivatives trading with the Jupyter Notebook?
In long/short mode, Long and short positions of a certain contract will be independent from each other and need to be closed separately. When you place orders via Place order, the request parameter posSide is mandatory. Valid values are long or short.Published on Sep 28, 2023Updated on Feb 12, 2026FAQ193Adjustments on Perpetual Swap Price Limits for ETH, EOS, And Other Currencies
Open short or close long position: An order would be blocked if the order price sent is lower than the price limit.Published on Jan 10, 2019Updated on Nov 17, 2025AnnouncementsSpot and futures cross margin mode
+ interest) * maintenance margin ratio 2.Principle of initial margin Principle of initial margin: both tokens of a pair can be used as margin for long/short positions.Published on Jun 17, 2022Updated on Nov 6, 2025Product documentation