OKX
Connect your Runbot Alerts with OKX to send trading bot orders.
Last updated
Connect your Runbot Alerts with OKX to send trading bot orders.
Last updated
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 & Webhooks.
Find Credit webhooks section and click on "+" to Create a Credit webhook.
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:
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.
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!
Go to or click "Trading bots" on the top left of your OKX trading app.
Go back to and paste the Long (Entry) message on the Signal token input box.
On Runbot, click and to start your automated trading with OKX and Runbot!