All
FAQ
Announcements
Product documents
Spot cost price
Average cost price Average cost price = (0 + 3000 * 2) / 2 = 3000 PnL = (3500-3000)*2 = 1000 PnL Ratio = (3500 - 3000)/3000 * 100% = 16.67% Cumulative Cost Price Cumulative Cost Price = (3000 * 2 - 0)/2 = 3000 PnL = 3500 * 2 - 3000 * 2 + 0 = 1000 PnL Ratio = 1000 / (3000 * 2 - 0) * 100% = 16.67% Scenario 2: On Day 2, you sell 1 ETH at a price of 3500, and the last price is now 4000.Published on Jun 17, 2022Updated on Nov 6, 2025Product documentationTrading Signal Bot Alert Message 2.0 Specifications
If you create a bot with an initial invested margin of 1000 USDT, your Active Investment will be set to 1000 USDT. For any incoming signals, this is the value that will be used for your order size calculations. Let's say after a few days of running your bot, you decide it's performing well and reinvest another 1000 USDT margin and add it to your Active Investment.Published on Aug 30, 2023Updated on Apr 1, 2025Product documentationHow to transfer crypto from Coinbase to OKX?
If you transfer a minimum of €1000,- of your crypto assets within this period of time to OKX and hold them for 90 days you will get rewarded. In total, you can earn up to €1000,- during the OKX Transferdays. You have the option between depositing euros directly by using iDEAL or transferring your crypto from another exchange to OKX. Visit the campaign page to learn more about the promotion and find the terms and conditions of this temporary offer. Is transferring my crypto to OKX safe?Published on Jun 19, 2025Updated on Jun 26, 2025FAQ6Introduction of rules on OKX Connect
ABCDabcdef123, the "tag" is marked "ABCD" The demonstration of API information in a trading order: { "instId": "BTC-USDT", "tdMode": "cash", "side": "buy", "ordType": "limit", "px": "1000", "sz": "0.01" "clOrdId": "ABCDabcdef123" "tag": "ABCD" } 9. FAQ Q: Do connect support placing strategy orders? A: Currently, only API channel support placing multiple strategy orders, including: TP / SL order under one-way mode, TP / SL order under hedge mode, plan order, iceberg order, TWAP order, etc.Published on Feb 9, 2026Updated on Mar 2, 2026Product documentationHow to set up an OKX Signal Trading bot with TradingView
., 1000 USDT) or percentage terms (e.g., 10% of the available balance), giving you flexibility in determining your position sizes. Adjusting this setting allows you to manage risk and control position sizes according to your trading strategy. Additionally, you can set Take Profit (TP) and Stop Loss (SL) levels as part of the exit settings.Published on Aug 30, 2023Updated on Dec 3, 2025Product documentation
Showing 1-5 of 5 articles