All
FAQ
Announcements
Product documents
What's the Nitro Spreads table view?
This information, previously available only via API, is now accessible within the user interface (UI) for easier analysis.Where can I view the strategy formulas for both crypto-margined and USDT-margined contracts? Visit here to view the strategy formulas for both contracts.Published on 16 Jul 2024Updated on 10 Sept 20253What are OKX SG's crypto trading bots and how do I utilize them?
Set your spot grid trading manually, now with grid quantity up to 1,000 grids Now, you can set up to 1,000 grids—an upgrade from the previous 300—thanks to a dynamic order-hanging mechanism, helpful front-end prompts, and grayed-out logic orders with tooltips, all while keeping the UI clean and efficient.Learn how to use the spot grid trading bot here.What's the Spot DCA (Martingale) trading bot?Published on 28 Jul 2025Updated on 17 Nov 2025How do I trade with OKX on TradingView?
Note: spot and derivatives symbols have different order panel UI in TradingView, thus we have 2 accounts (spot and derivatives account) in TradingView. However, the trading account assets are shared by both spot and derivatives trading as you are in unified account.Published on 29 Jul 2025Updated on 20 Jan 202662How do I manually set up spot grid trading bots?
Now you can set up to 1,000 grids by: Adopting a dynamic order‑hanging mechanism Providing prompts directly on the front‑end Displaying logical orders in a grayed‑out state with helpful tooltips; and Having minimized front‑end modifications to keep the UI simple and efficient.How can I use the integration of Simple Earn in Spot Grid trading bot? If you're running a Spot Grid bot with a wide price range, any unused funds can be put to work through Simple Earn to help you earn extra yield.Published on 6 Jun 2024Updated on 17 Nov 2025202How can I do spot trading with the Jupyter Notebook?
In our unified account system, there are four account modes: Spot mode Spot and futures mode Multi-currency margin mode Portfolio margin mode To understand the difference between different account modes and how to set up the account mode via the web UI, please read our dedicated guide. In margin mode or trade mode, the parameter tdMode determines how your position is going to be margined, which you need to set every time you place a new order.Published on 29 Sept 2023Updated on 10 Sept 2025542How can I do derivatives trading with the Jupyter Notebook?
Please refer to how to set up the account mode to understand the differences between the four modes and how to switch between them through our Web UI. 4.1 Get the current account configuration from the acctLv parameter in Get account configuration Make sure that you're in the correct account mode to trade derivatives. import okx.Account as Account flag = "1" # live trading: 0, demo trading: 1 accountAPI = Account.AccountAPI(api_key, secret_key, passphrase, False, flag) result = accountAPI.get_account_configPublished on 28 Sept 2023Updated on 12 Feb 2026193
Showing 1-6 of 6 articles