---
title: Configuring API on Bybit
slug: configuring-api-on-bybit
createdAt: 2023-09-27T09:32:22.677Z
---

This guide is crucial for first-time users who have created a new subaccount on Bybit. Follow the steps below to ensure your settings are correctly configured for optimal performance with automated trading tools by OVNbot.

### Step 1: Open USDT Perpetual

Navigate to the USDT Perpetual trading page on Bybit.

![](https://api.archbee.com/api/optimize/zUP6mHZaAoQpSyGrwukdN/qxXfESxWNDrVyOKWxbp2k_activate-account-7.png)

### Step 2: Verify Cross Margin and Leverage

- Ensure the platform is operating in cross margin mode.
- Check that the leverage is set according to your preference (the default setting is 20x).

![](https://api.archbee.com/api/optimize/zUP6mHZaAoQpSyGrwukdN/k12cNNGlx755AFkEHz5Wg_activate-account-8.png)

### Step 3: Adjust Position Mode to Hedge

1. After accessing the settings, click on ‘**Position Mode**’.
2. A dropdown menu will appear, from which you need to select ‘Hedge Mode’.

This configuration is essential for traders who wish to hold both short and long positions simultaneously.

![](https://api.archbee.com/api/optimize/zUP6mHZaAoQpSyGrwukdN/vLL4y_ewoPFWy7pYqMiDv_activate-account-10.png "click Position Mode")

### Step 4: Apply Hedge Mode to All USDT Pairs

- Once ‘Hedge Mode’ is selected, make sure to apply this setting to all USDT trading pairs to ensure consistency across all your trades.

![](https://api.archbee.com/api/optimize/zUP6mHZaAoQpSyGrwukdN/gKXpd-vjQqeIubfHDUzo3_activate-account-9.png "select Hedge Mode and apply to all USDT pairs")

### Note

This configuration process is a one-time requirement when setting up a new subaccount on Bybit. Always ensure that every step is followed accurately to facilitate the smooth operation of automated trading activities.
