All
FAQ
Announcements
Product documents
Spot cost price
spot, which only includes spot buy and sell Cost price = (Average cost price before last 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 Jun 17, 2022Updated on Nov 6, 2025Product documentationPrice limit rules
price-based limit price rules: Phase Highest price limit Lowest price limit First minute after listing Deal price of Call Auciton period * (1+H) No price limit 1 ~ N minutes after listing Close price of last minute * (1+H) No price limit After N minutes after listing No price limit No price limit Spot trading Buy orders: Orders placed above the highest price limit will trigger the price limit rules.Published on Jun 16, 2022Updated on Jan 28, 2026Product documentationSpot index prices
What is a spot index price? Spot Index price aims to measure the price of an underlying cryptocurrency. OKX’s USDT-margined contracts are denominated in USDT index price, USDC-margined contracts are denominated in USDC index price, while coin-margined contracts use the USD-equivalent spot index price of the underlying cryptocurrency.Published on Jun 16, 2022Updated on Nov 5, 2025Product documentationTime-weighted Average Price (TWAP)
The bot will place the order at the limit price if the order price is higher than the predefined limit price. If the order amount is more than the predefined average amount, the bot will place the order based on the average amount* random ratio (0.5~1). The order will be suspended when the last price (20,500 USDT) is higher than the limit price and resumed when the last price is below 10,500 USDT again. The bot will stop when the total filled amount equals the total order amount.Published on Jun 17, 2022Updated on Apr 1, 2025Product documentationHow do I set a price alert?
By setting up alerts, you establish a proactive defense mechanism, ensuring you're promptly notified whenever price action aligns with your price levels of interest. How can I set a price alert? You can set a price alert and be informed when the price reaches the key price points.Published on Apr 30, 2024Updated on Sep 10, 2025FAQ256How to add personalized messages for custom price alerts?
Below is how you can add personalized messages to your custom price alerts on our platform: Navigate to the chart of the specific asset and select the Alerts option by selecting the bell icon above the trading chart to access the price alerts feature Start by selecting the Alerts option Select Create alerts or select an existing alert you want to edit Proceed to select the alert of your preference or the Create alerts option Set the Price and enter the price point that will trigger the alert ProceedPublished on Feb 6, 2025Updated on Sep 10, 2025FAQ3Isolated margin mode
Note: The liability crypto might be overbought a little due to rounding issues. When liability and margin are the same crypto Asset = 1 BTC Liability = -100,000 USDT Margin = 10,000 USDT Leverage = 10x Assuming no trading fees, and the price of BTC has risen to 125,000 USDT per BTC, an order to sell 1 BTC will be placed, selling all the assets in the position.Published on Jun 17, 2022Updated on Feb 9, 2026Product documentationSpot and futures cross margin mode
If it is 10,020 USDT, the system will sell 2 BTC at the market price, and then stop it when you receive 10,020 USDT. Due to transaction accuracy, it may exceed a little.2. Assuming the average filled price is 10,000 USDT, then buying 10,020 USDT requires 1.002 BTC, and the remaining 0.998 BTC will not be sold.3.Published on Jun 17, 2022Updated on Nov 6, 2025Product documentationWhat's a dusting attack?
The excess amount of crypto is of such little value it serves no purpose. You can't even use it to pay for transaction fees. Alternatively, crypto dust can be transferred to you, which is a form of a malicious attack. This is a relatively new form of attack where hackers invade the privacy of crypto owners. They do it by sending a small amount of digital currency to multiple addresses. They then track these funds to reveal who the owner of the wallet is.Is crypto dust harmful?Published on Oct 4, 2024Updated on Mar 3, 2026FAQ13Crypto Tax Reporting
The IRS first introduced the question related to virtual currency on Schedule 1 of Form 1040 for the tax year 2019. Ever since the same question about virtual currency appears on the front page of the form 1040 below the section of taxpayer's personal information. The Department of the Treasury and the IRS provided guidelines on information reporting obligations for digital asset brokers.Published on Sep 24, 2025Updated on Feb 13, 2026FAQProfit 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 Jun 17, 2022Updated on Nov 6, 2025Product documentationStrategy order types
TP trigger price: 8,000 USD TP order price: Market price or any price, e.g. 8,050 USD SL trigger price: 10,000 USD SL order price: Market price or any price, e.g. 10,050 USD TP will be triggered if BTC's market price drops to 8,000 USD and Jenny can exit the trade at the market price instantly or at the preset TP price, for example, 8,050 USD. Meanwhile, the SL order will be canceled.Published on Nov 30, 2022Updated on Mar 12, 2026Product documentationOKX listing mechanism
Opening price determination The opening price in a Call Auction is determined based on the following principles: The price that allows the highest trading volume At that price: All buy orders priced higher than the opening price are fully executed, or All sell orders priced lower than the opening price are fully executed Either the buy side or the sell side at the opening price must be fully filled The resulting price becomes the official opening price of the trading pair.Published on Apr 27, 2018Updated on Mar 13, 2026FAQ7,444How do I place a TP/SL with Limit Order?
Placing the order: Order price: $50,000 (the price at which you want to buy Bitcoin) Order size: 1 BTC (the amount you wish to buy) Setting TP/SL: TP trigger price: $55,000 (the price at which you want to take profit) SL trigger price: $45,000 (the price at which you want to stop loss) In this example, when the market price of Bitcoin reaches $55,000, the TP order will be triggered, and you'll sell your 1 BTC to lock in profits.Published on May 31, 2024Updated on Feb 12, 2026FAQ279Introduction to Trading bot Mode
Take-profit (TP) price: The Bot will stop working when the price reaches TP price, and the bot will close the position at TP price. Stop-loss (SL) price: The Bot will stop working when the price falls to the SL price, and the bot will close the position at SL price. 3.3.Published on Jan 9, 2023Updated on Jul 29, 2025Product documentation