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 29 Sept 2023Updated on 10 Sept 2025546Trading 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 22 Mar 2024Updated on 2 Apr 20261,076Copy trading FAQ
After they reach this number, copy traders can't copy any more positions that the lead trader opens.16. What factors could cause a lead trade to fail in copy trading?Published on 15 Sept 2023Updated on 4 Mar 2026686OKX ZERO Trading Fees event FAQs
The rebate cards will be credited in nominals of 100 USDT each The maximum value of rebate card distributed per user will be 2,000 USDT, distributed in 20 instances. After trading $100,000 and using up the existing rebate card balance, you will receive the next 100 USDT rebate card within 20 minutes - up to a maximum of 2,000 USDT trading fee rebate per user.9. How do I use the fee rebate card? The rebate cards will be credited in nominals of 100 USDT each.Published on 6 Jul 2023Updated on 12 Feb 202638Trade and Earn FAQ
You must achieve a net deposit ≥ 100 USDT, maintain the net deposit in your account for 3 consecutive days, and accumulate an eligible trading volume of 100 USDT equivalent in the specified tokens. Rewards are limited and will be distributed on a first-come, first-served basis. Note: Net deposit = eligible deposits − withdrawals.Q: When will the new user basic task reward be distributed?Published on 30 Mar 2026Updated on 2 Apr 20263OKX 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 25 Apr 2024Updated on 8 Sept 2025607Rewrite The System KOL terms and conditions
Affiliates will be rewarded according to the table below: Number of Qualified Users Reward (USDT) Less than 10 10 per user 10 100 30 250 80 500 More than 100 700 This promotion should not be construed as a recommendation or an offer to buy or sell digital assets or any other financial products. Digital assets may be susceptible to fraud and involve a high level of risk. The value of digital assets can increase or decrease over a short period of time, and can become worthless.Published on 15 May 2023Updated on 17 Nov 202521OKX API FAQ
The rise and fall value of the latest transaction price compared to the opening price of the K-line 24 hours ago/100% of the opening price of the K-line 24 hours ago. The above formula data can be obtained through the market interface here. What's the reason for the error message "51000 Parameter posSide error" when placing an order? You need to check the account mode first; buying and selling mode/opening and closing mode, which can be viewed here to obtain posMode.Published on 20 Sept 2024Updated on 23 Mar 2026133What's a token airdrop?
OKX Wallet supports over 100 networks and has OKX DEX, a multi-chain and cross-chain DEX, OKX Earn, a one-stop on-chain investment tool, OKX Marketplace, a multi-chain NFT aggregator, and DApp Discover. Through our Wallet, you can easily access 1,000+ DApp protocols and explore the Web3 world with just one wallet. However, airdrops have become a target for scams due to their popularity.Published on 10 Aug 2023Updated on 22 Mar 20264,445How 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 2 Aug 2024Updated on 17 Nov 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 28 Sept 2023Updated on 12 Feb 2026195How do I trade in CeDeFi trading?
(Passkey is available in iOS 16+ or Android 7+ with Google services). Learn more here.2. How do I select a token and trade in CeDeFi trading? Go to Markets > DEX. Search for the token you wish to buy, or look up newly launched meme coins using the Search bar. Review the token details, risk rating, and live market data. Enter the amount you'd like to buy, then confirm the trade details (including the fees and amount you'll receive).Published on 24 Sept 2025Updated on 4 Mar 20265How do I buy and sell BRC-20 tokens? (app)
To update the BRC-20 inscription logo, you must meet the following conditions: The social media account operator must initiate a poll on Twitter or Weibo and obtain at least 100 affirmative votes from users. Please contact official support with this screenshot of poll results and a circular PNG logo file to complete the modification of token's logo. Once you have the required information, please submit your application via this link. The review process is expected to take about one month.Published on 22 Aug 2023Updated on 3 Mar 2026632How do I add margin for margin trading?
You can add 10% to 100% of the trading account funds. As the margin increases, the liquidation price will change; the more margin you have, the lower the risk of liquidation. The maximum amount you can add or reduce is displayed on the page.Increase or decrease margin in cross margin mode. In the cross margin mode, there is no additional button under the position. This is because the futures margin cross margin mode uses the entire value of a specific crypto as margin.Published on 20 Mar 2023Updated on 2 Apr 202636How do I apply for the OKX Market Forced Royalty Contract?
OKX Web3 Wallet Forced Royalty Contract provides a complete end-to-end solution for your collection, ensuring that 100% of royalties are collected on every transaction in the secondary market. To enable this feature, you must allow your collection to be traded exclusively on the Web3 Wallet Marketplace.How do I apply for the OKX Market Forced Royalty Contract?Published on 18 Jun 2024Updated on 27 Jan 202633