All
FAQ
Announcements
Product documents
How can I do spot trading with the Jupyter Notebook?
In the example below, you are about to place a market order to buy BTC that is worth 100 USD. 1 # market order 2 result = tradeAPI.place_order( 3 instId="BTC-USDT", 4 tdMode="cash", 5 side="buy", 6 ordType="market", 7 sz="100", 8 tgtCcy="quote_ccy" # this determines the unit of the sz parameter. 9 ) 10 print(result)10.4 How can I use the client order ID parameter clOrdId?Published on Sep 29, 2023Updated on Sep 10, 2025554Trading Fee Rules FAQ
Trader A became a maker of this trade, so the Trading fee = 0.08% × 20,000 = 16 USDT, and A will receive 19,984 USDT after fee deducted.Published on Mar 22, 2024Updated on May 8, 20261,083Event Contracts FAQ
Example: A user holds 500 Up shares for the event “Will BTC be above 85,000 USDT before 16:00?” At 16:00, the OKX index price = 85,312 USDT (above 85,000 USDT): Settlement result: Up wins Auto-credited to account (before fee deduction): 500 × 1.00 = 500.00 USDTHow does the platform handle disputed results? If there is a dispute over the settlement result, the platform will handle it through a review process. Triggering a review may delay settlement.Published on Apr 16, 2026Updated on May 6, 2026OKX API FAQ
A minimum Assets Under Management (AUM) balance of 100 USD is required to create an API key.Published on Sep 20, 2024Updated on May 11, 2026137How do I buy crypto and earn rewards?
You can earn rewards by following these steps: Opt in to the campaign through the app Buy at least €100 or $100 of any eligible crypto to lock in €5 in BTC reward. You may use USD, EUR, USDC, or USDG for the purchase.Published on Feb 19, 2026Updated on Apr 6, 20263What's Spot DCA (Martingale) bot and how to use it?
For example, with a safety order amount = 100 USDC, multiplier = 2. Safety orders will be placed: 100 = (2*0 × 100) 200 = (2*1 × 100) 400 = (2*2 × 100), and more Price steps multiplier: applied to the price step for placing the next safety order. It increases or decreases the price gap between safety orders. For example, with a price step = 1%, multiplier = 2.Published on Oct 21, 2025Updated on Apr 3, 2026OKX x McLaren NFT Sweepstakes Terms & Conditions
The Sweepstakes is divided into 16 entry periods, each one of which corresponds with a race McLaren Racing’s 2024 season, starting with the Canadian Grand Prix, plus an additional 17th post-season entry period (each, an “Entry Period”). Click here for a current schedule. Each of the first 16 Entry Periods will start at 10:00 AM GMT on the Friday before the race and end at 10:00 AM GMT on the Monday after the race.Published on Apr 25, 2024Updated on Sep 8, 2025607Buy crypto with rewards terms and conditions
Reward Structure and Qualified Buy Rules Eligible participants can earn a total of €50 in BTC rewards through a two-tiered system: Base Reward (€5 BTC): Earned upon completion of your first qualified buy of at least €100 or $100 using USD, EUR, USDC, or USDG. Milestone Reward (€45 BTC): Earned after completing 5 consecutive days of qualified buys (including the first buy).Published on Feb 19, 2026Updated on Mar 16, 2026How do I avoid liquidation with trading tools and features?
Liquidation happens when the level reaches 100% and the margin call alert is at 300% (TBA). Always monitor your margin level Use stop-loss orders: a stop-loss order automatically closes your position when the market price reaches a predetermined level, limiting potential losses. Adjust leverage levels: modify your leverage as you prefer. As using high leverage increases the risk of liquidation, consider using lower leverage to reduce potential losses.Published on Aug 2, 2024Updated on Nov 17, 202516How can I do derivatives trading with the Jupyter Notebook?
6.1 Place a limit order via Place order Buying 100 BTC-USDT Swap contract at the price of 19000 USDT. # limit order result = tradeAPI.place_order( instId = "BTC-USDT-SWAP", tdMode = "isolated", side = "buy", posSide = "net", ordType = "limit", px = "19000", sz = "100" ) print(result) if result["code"] == "0": print("Successful order request,order_id = ",result["data"][0]["ordId"]) else: print("Unsuccessful order request,error_code = ",result["data"][0]["sCode"], ", Error_message = ", result["dataPublished on Sep 28, 2023Updated on May 7, 2026200How do total Profit and Loss (PnL) and Grid profits work for Spot Grid?
Example: If you started a bot with 100 USDT, and the current bot equity is 200 USDT, your Total PnL = 200 - 100 = 100 USDT. This figure includes: Realized profits from completed trades Trading fees Unrealized PnL from open positions Any applicable Earn interest (if enabled)How's the field "Grid Profits" calculated? Grid Profits represent the estimated realized gains from completed grid cycles—each cycle being one buy followed by one sell.Published on Jun 20, 2025Updated on Apr 30, 202656Trading Signal Bot FAQs
Setting up multiple bots on a single signal allows for flexibility and customization, enabling you to tailor your trading strategy to diverse market conditions and preferences.16. Is there a Signal Marketplace? I'd like to use signals from professional traders. Yes, it is! It's now available on our OKX Trading Bots page under the Signal Marketplace here.17. How can I become a signal provider?Published on Oct 9, 2023Updated on Apr 27, 2026137Tradeback voucher FAQ
would receive up to 200 USDT in tradeback rewards, capped by the voucher limit Spot trades: Tradeback amount is based on your trading amount for eligible products and currencies Example 1: The user activates a 50% tradeback voucher with maximum limit of 200 USDT The user proceeds to trade 500 USDT of ETH/USDT The user would receive up to 200 USDT in tradeback rewards, capped by the voucher limit Example 2: User activates a 50% tradeback voucher with maximum limit of 200 USDT User proceeds to trade 100Published on May 8, 2026Updated on May 8, 2026How do I buy crypto with BLIK?
Example: If a user wants to purchase BTC worth 100 PLN, the equivalent amount in EUR is calculated using the latest FX rate.Published on Aug 20, 2025Updated on May 6, 20269How do I level up my trades with Mizar?
Mizar is 100% subscription free, and all tools are available for everyone. That means users pay fees based on their trading volume. Additionally, users share part of their profits when copy-trading other users. Mizar users are part of a STAR system, a tiered system where fees are discounted based on your average 30 days volume or amount of $MZR (Mizar’s utility token) staked.FAQ1. Do I get a free trial on Mizar?Published on Mar 28, 2024Updated on Jan 2, 20265