# Connection to Bybit

In this guide, we will cover all the steps required to create a trading account on Bybit and connect to the FundX platform.

* [**Open an account on Bybit to get personal API keys**](#open-an-account-on-bybit-to-get-personal-api-keys)
* [**Possible Errors with Bybit connection**](#possible-errors-with-bybit-connection)
* [**Bybit trading**](https://funded-futures-network.gitbook.io/fundx/trading-panels/order-entry/order-entry-for-bybit)
* [**Errors**](#errors-with-bybit-connection)

Note, that in the platform, you can connect to the exchange in two modes:

* **Info Mode** — free and quick way to view charts and other data for cryptocurrencies on the Bybit exchange without the need to enter keys
* **Trading Mode** — for trading on the Bybit exchange in demo or real mode. API Keys are required. Below you will show how to get keys for trading.

![](https://1574671354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQAglKSOJnxCrGxFyuplO%2Fuploads%2Fgit-blob-f21a9ab81d16a475ba995181e486de08fc2bc310%2Fbybit-modes.gif?alt=media)

### Open an account on Bybit to get personal API keys

{% hint style="info" %}
For **REAL Trading** please create an account on Bybit.com <https://www.bybit.com/en-US/invite/?ref=n9X0D>

For **DEMO Trading** please create an account on Testnet.Bybit.com <https://testnet.bybit.com/>
{% endhint %}

Go to the [**Bybit official website** using this link](https://www.bybit.com/en-US/invite?ref=n9X0D) and go through the procedure for registering a new account on the exchange.

For email registration, please enter your email, preferred password and (!) referral code **n9X0D**\
Swipe the verification page then enter the verification code sent to your email inbox.

![](https://1574671354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQAglKSOJnxCrGxFyuplO%2Fuploads%2Fgit-blob-751a5f0afc0518424dedcbaca750b6bf31951793%2Fimage%20\(82\).png?alt=media)

To create/manage your Bybit API keys, please click onto the top right on your username. Inside the dropdown menu, click on **'API'.**

![](https://1574671354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQAglKSOJnxCrGxFyuplO%2Fuploads%2Fgit-blob-5d238304e109f8debe200ff5eb72a3f038cc9bd9%2Fimage%20\(83\).png?alt=media)

Click on **'Create New Key'** located on the right side of the **'API Management'** page

![](https://1574671354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQAglKSOJnxCrGxFyuplO%2Fuploads%2Fgit-blob-7b94647fc71e08ee99f10991ad85fe59ec4e1979%2Fimage%20\(86\).png?alt=media)

{% hint style="warning" %}
**You need to configure two-factor authorization on Bybit. It is necessary for creating keys.**
{% endhint %}

The following pop-out window will appear. Please configure your API key according to your trading needs. Enter your Google Authenticator 2FA and click on 'Confirm' to proceed

Enter your API information, such as a reference name for your API key under **'Name'** and select **'Active Order and Positions'** in the section **'Key Permission',** and proceed to enter your Google authenticator 2FA code before you click on “Confirm”

![](https://1574671354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQAglKSOJnxCrGxFyuplO%2Fuploads%2Fgit-blob-3ef26475af07fbb4fdcc7a4fb6ee2b8f9d731138%2Fimage%20\(85\).png?alt=media)

Once you receive the keys, save them. After closing the window, you will not be able to see the "APIPrivate Key" again.

![](https://1574671354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQAglKSOJnxCrGxFyuplO%2Fuploads%2Fgit-blob-a912bcc2906f655ff8cdb3e0abf56e7fed9ca0ad%2Fimage%20\(84\).png?alt=media)

Use your personal API Keys to login into your trading account in FundX platform.

![](https://1574671354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQAglKSOJnxCrGxFyuplO%2Fuploads%2Fgit-blob-5abadfc70c13f960296dd6ed9f1adf725d6b6f03%2Fbybit-connected.gif?alt=media)

### Possible Errors with Bybit connection

**"Timestamp error"** means that your local time on PC is not the same as on Bybit servers and it should be synchronized.

![](https://1574671354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQAglKSOJnxCrGxFyuplO%2Fuploads%2Fgit-blob-6d4cdfb9a67f2b0bd23e6fc304e405e86e8d15fb%2Fimage%20\(81\).png?alt=media)

To solve it, please, go to **Windows Settings > Time & Language >** and click on **Sync Now** button\*\*.\*\*

![](https://1574671354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQAglKSOJnxCrGxFyuplO%2Fuploads%2Fgit-blob-98fc64275a5848116704425fe37567a14fd7fb14%2Fimage%20\(92\).png?alt=media)

### Errors with bybit Connection

Refuse (bybit)- you don't have enough funds - fund your account

![](https://1574671354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQAglKSOJnxCrGxFyuplO%2Fuploads%2Fgit-blob-500b17a5238b134caa042b1d8cc695148ba34e14%2Fimage%20\(315\).png?alt=media)
