How to Switch OKX Position Type to Long/Short Mode?

Normally, if you have no positions in your OKX’s account when you use AntBot for the first time, the position type will automatically switch to [Long/Short mode], so that the robot can be started smoothly.

Of course, it cannot be ruled out that you may also encounter situations where automatic switching cannot be performed. Then you need to go to OKX to manually select the [Long/Short mode] which supports long and short positions at the same time.

The following are the operation steps:

1.

2.

3. Since AntBot opens long and short positions on the same crypto at the same time, it is necessary to choose [Long/Short mode].

Note: Position type applies to all futures and perpetual swap contracts. To adjust this mode, close all open positions or cancel pending orders.

[Long/Short mode]: You can place both open (long/short) and close (long/short) orders. This mode allows you to hold two-way positions.

[Buy/Sell mode]: You can only place buy or sell orders, and hold one-way positions under either isolated or cross margin mode.