OKX (free bots)

Connect your Runbot Alerts with OKX to send free trading bot orders.

  1. Trading bots are free and unlimited when connected to OKX exchange. You won't need to pay anything to use Runbot trading bots to OKX.

  2. You can connect as many bots as you want on OKX, however you can only connect 1 Runbot Strategy per OKX Signal Bot. If you want to run 3 different strategies, you'll need to create 3 different OKX Signal Bots.


To receive your Strategy Alerts directly on OKX and automate your trading, go to https://app.runbot.io/Bot/ or directly click on "Alerts Bots".

Then click "+ Create new webhook" just below "Free webhooks".


On the Bot webhook configuration box, select 'Linked strategy' and pick the strategy you want to receive alerts from.


Enter the exact amount of capital you wish to allocate to your trading strategy. The size of your orders will be based on this reference, which can be a lower or a higher amount, depending on the leverage of your strategy.


Select OKX to send alerts:


Go to https://www.okx.com/trade-swap-strategy/btc-usdt-swap or click "Trading bots" on the top left of your OKX trading app.


Select "Signal Bots" on the bots menu.

If you can't find it, and the OKX app suggests switching to Pro Mode, go ahead and do so; the Signal Bot will then appear on the right side of your screen.


Click "Add a custom signal".


Choose a name for your Signal Bot, then click "Create signal".


Select "Custom".


Then, copy the "Long (Entry)" message. Only this message is necessary, the others can be ignored.

Go back to https://app.runbot.io/Bot/ and paste the Long (Entry) message on the Signal token input box.

Save changes on Runbot and click "Complete" on OKX.


On your OKX Bots menu, click "Create Bot" from the bot you just created.


Select the trading pair of your Runbot Strategy.


Enter the amount of USD capital you want to allocate to your strategy in the "Invested margin" input box.

By default, you can leave the Leverage at 10x. However if your strategy has a very high leverage, enter the maximum leverage of your strategy. This information can be found in your backtest infos. On the Backtest Stats box, click "Backtest informations", and read "Max position leverage".

"Invested Margin x Leverage" only means the result of the MAXIMUM cap size allowed by your OKX bot. If you want to use "cross-mode", you can lower the invested margin and increase the leverage.


Click "Create"!


Happy Trading!

Last updated