All
FAQ
Announcements
Product documents
What are OKX's crypto trading bots and how do I utilize them?
Now, you can set up to 500 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? The Spot DCA (Martingale) trading bot helps traders buy specific assets at set intervals, spreading their purchases across different price levels.Published on Sep 4, 2025Updated on Jan 20, 20261How 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 Jul 29, 2025Updated on Jan 20, 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 Jun 6, 2024Updated on Nov 17, 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 Sep 29, 2023Updated on Sep 10, 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 Sep 28, 2023Updated on Feb 12, 2026193
Showing 1-5 of 5 articles