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 Mar 18, 2026FAQ259How 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, 2025FAQ3Profit 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 16, 2026FAQ7,463How 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, 2026FAQ280Introduction 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 documentationFlywheel
Terminology Explanation Buy when market price drops a ratio: The percentage by which you want to purchase cryptocurrency as the market price drops, setting the purchase price based on the current market price drop ratio. Sell by buy price: Use the buy coin price at the time of successful buy-low as the selling price. Profit-taking by buying price increases a ratio: The percentage increase you want before selling the crypto currency after buying it.Published on Feb 11, 2025Updated on Aug 14, 2025Product documentationIceberg strategy
He can set an iceberg order Bot Parameters Range - Ratio (Price Variance): 0.1% Price limit: 20,000 USDT Average amount: 2 BTC Total amount: 100 BTC Run the Bot The system will automatically place an iceberg order. The order price will be the latest buy price*(1-Price variance 0.1%), and the amount of each order will be 50% to 100% of the average amount. Once the order completely filled, a new order will be placed.Published on Jun 17, 2022Updated on Apr 1, 2025Product documentationSpot Grid
Take-profit (TP) price: The Bot will stop working when the price reaches TP price, and the bot will sell all base assets at corresponding market price. Stop-loss (SL) price: The Bot will stop working when the price falls to the SL price, and the bot will sell all base assets at corresponding market price.Published on Jun 17, 2022Updated on Nov 11, 2025Product documentationWhat's a limit order?
A limit order is an order where you set the order quantity and the maximum price you are willing to buy or the minimum price you are willing to sell. When the market price meets your conditions, the system will execute the order at the best available price within your specified limit. Whether a limit order is executed as a maker or taker depends on the price you set, the order quantity, and current market conditions.Published on Aug 22, 2023Updated on Jan 27, 2026FAQ175