# Connection to Binance Futures

To start trading on Binance Futures through FundX platform, you need to open an account and create an **API Key** and **Secret Key**. In this guide, we will show you step-by-step how to set up the connection, change margin type and leverage size.

* [**How to create a new Binance Futures account**](#how-to-create-a-new-binance-futures-account)
* [**How to connect to Binance Futures in FundX platform**](#how-to-connect-to-binance-futures-in-quantower-platform)
* [**How to get Full License of FundX for free with Binance?**](#how-to-get-full-license-of-quantower-for-free-with-binance)
* [**How to change Leverage and Margin Type**](#how-to-change-leverage-and-margin-type)
* [**How to load the history of past trades (for previous days)**](#how-to-load-the-history-of-past-trades-for-previous-days)
* [**How to place Stop Loss and Take Profit for a position (server-side)**](#how-to-place-stop-loss-and-take-profit-for-a-position-server-side)
* [**How to change Hedge Mode (One position & Multiple positions)**](#how-to-change-hedge-mode-one-position-and-multiple-positions)
* [**Possible Errors with Binance Futures connection**](https://funded-futures-network.gitbook.io/fundx/connections/connection-to-binance-futures/errors-with-binance-connection)

## How to create a new Binance Futures account

* Go to the [**Binance Futures**](https://www.binance.com/en/futures) official website to open a ***live account***.\
  If you want to create a ***demo account***, you can open it on [**Testnet Binance Futures**](https://testnet.binancefuture.com/en/futures) website

![](https://1574671354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQAglKSOJnxCrGxFyuplO%2Fuploads%2Fgit-blob-54f45524781bbc36e4104949fa4a8075919dae8c%2Fcreate-account-binance-futures.png?alt=media)

* Fill in the account registration form with your email and safe password. Click on Create account and you will receive a verification email shortly. Follow the instructions in the email to complete your registration.
* Once you are on the Binance Futures page, you should be able to see the first two characters of your email address associated with your account in the top right corner.

![](https://1574671354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQAglKSOJnxCrGxFyuplO%2Fuploads%2Fgit-blob-907314aabf99adc2ad492948495afd80a4919046%2Fbinance-futures-their-terminal.png?alt=media)

* Click on the logo of your account and in the ***Settings*** section select ***API Management***. Create a new API Key (if you don't have it) and save it.

![](https://1574671354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQAglKSOJnxCrGxFyuplO%2Fuploads%2Fgit-blob-c416292f747c9a2c9033c7073cef6842a0669ebb%2Fapi-binance-futures.png?alt=media)

Once you will create an API key, please click on the **Wallet** menu and select **Futures** section. After confirming the opening of a futures account, an additional option will appear for your key, which is called **Enable Futures**.

Please activate it and after you can connect to Binance Futures in FundX

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

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

{% hint style="danger" %}
Go to the futures trading section and take the test to activate your futures account.
{% endhint %}

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

## How to connect to Binance Futures in FundX platform

* Launch FundX platform and open [Connections Manager](https://funded-futures-network.gitbook.io/fundx/connections/connections-manager). Select Binance Futures in the list and select the type of connections — **INFO** or **TRADING** mode.

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

* For trading, please enter your **API Key** and **Secret Key**.

## How to get Full License of FundX for free with Binance?

{% hint style="danger" %}
If you already have a binance account and it is older than **1 FEBRUARY 2021**, then you need to create a new account in order to use all the paid quantower features
{% endhint %}

First, you need to register a new account on Binance exchange, that wouldn’t be connected with any referral previously. In order to do this, please follow the <https://accounts.binance.com/en/register> link and fill in the registration form.

{% hint style="danger" %}
Please note! The Referral ID field must be empty. If you see any prefilled ID in this field you should CLEAR YOUR **REFERRAL ID** COOKIES in the browser before registration.
{% endhint %}

![Make sure that the Referral ID field is empty](https://1574671354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQAglKSOJnxCrGxFyuplO%2Fuploads%2Fgit-blob-46696bce88729ea73723f47bb1d36b02e2e5f343%2Fscreenshot_1.png?alt=media)

### Clearing Referral ID cookies

To clear your saved cookies in the Chrome browser, you should proceed to the “Site information block” and follow the “Cookies section”

![Page cookies can be found via the Page info](https://1574671354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQAglKSOJnxCrGxFyuplO%2Fuploads%2Fgit-blob-88ee1b7763d25ce70afdf6982c9809db2d000159%2Fscreenshot_2.png?alt=media)

Now select each group of cookies and press the “Remove” button. When there will be no cookies in the list, please, press the “Done” button. Now you should refresh your registration page and make sure that the “Referral ID” field is empty.

![Binance stores referral data in cookies](https://1574671354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQAglKSOJnxCrGxFyuplO%2Fuploads%2Fgit-blob-9913090df5a126b275f5bed2f0dd8f8daf28d7b0%2Fscreenshot_3%20\(3\).png?alt=media)

When you’ve created a new account with the Binance exchange you may log in using your new credentials via the FundX terminal and start using all of its premium features for free.

### How to check that your account has a Full license in FundX?

Once you created a new account with Binance Spot, Binance Futures, please login to the platform in trading mode with your API Keys. After that, open [**Account Info** panel](https://funded-futures-network.gitbook.io/fundx/informational-panels/account-info) and check that the field **Full license is Enabled**.

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

## How to change Leverage and Margin Type

* Binance Futures allows you to trade various instruments and manually change the leverage for each one. To change it, open the [**Symbol Info**](https://funded-futures-network.gitbook.io/fundx/informational-panels/symbol-info) panel and select the necessary symbol. At the bottom of this panel there is a **Leverage** field where you can change the value and apply it by clicking the **Enter** button.

![](https://1574671354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQAglKSOJnxCrGxFyuplO%2Fuploads%2Fgit-blob-2a6c0fbc0bc4868f505bb2af90f823d6b40f044f%2Fleverage-binance-futures.png?alt=media)

Binance offers two types of margin for futures trading:

**Cross Margin Mode**: Share your margin balance across all open positions to avoid liquidation. In the event of liquidation you risk losing your full margin balance along with any remaining open positions.

**Isolated Margin Mode**: Manage your risk on individual positions by restricting the amount of margin allocated to each. If the margin ratio of a position reached 100%, the position will be liquidated. Margin can be added or removed to positions using this mode.

![](https://1574671354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQAglKSOJnxCrGxFyuplO%2Fuploads%2Fgit-blob-eeccbd1dcfe9930f965de0214729b4f941369d60%2Fmargin-type-binance-futures.png?alt=media)

{% hint style="danger" %}
For new accounts on which no trades were made, it is **not possible to change the leverage and margin type**.

To enable these functions, you need to make at least 1 trade for current symbol. After that, please restart the platform and these features will be available.
{% endhint %}

![Make one trade to activate Leverage and Margin type for Binance Futures in FundX](https://1574671354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQAglKSOJnxCrGxFyuplO%2Fuploads%2Fgit-blob-77719f1bdf326d1adc94a77189835e57650a2f77%2Fsymbol-info-binance-futures.png?alt=media)

## **How to load the history of past trades (for previous days)**

All trades made during the active session of the platform can be displayed on the chart, as well as in the Trades panel. To display trades for previous days, you need to activate the option **"Load user trades history"** in the connection settings.

{% hint style="info" %}
Due to Binance API limitations, it takes several minutes (up to 5 minutes) to load data on past trades. In addition, only data from the last 7 days can be downloaded.
{% endhint %}

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

## **How to place Stop Loss and Take Profit for a position (server-side)**

Binance Futures provides **server-side SL/TP orders only for the existed (open) position**. It means that you need to open your position first and after you can set server-side SL/TP.

Server-side SL/TP orders are much safer because are sent directly to the exchange and in case of loss of the Internet or other force majeure, your position will be protected.

{% hint style="info" %}
Binance Futures doesn't allow placing server-side SL/TP for Limit orders!

Our team will add client-side (local) SL/TP for limit orders later.
{% endhint %}

{% embed url="<https://www.youtube.com/watch?v=FWVy9dyC1HQ>" %}

## **How to change Hedge Mode (One position & Multiple positions)**

**One Position mode** means that traders can only hold positions in one direction under one contract. If you open a short position, anticipating that the price will go down in the longer timeframe, but in the meanwhile wanted to open a long to do a trade for a shorter time frame. You are unable to open positions in both directions at the same time. Opening positions in both directions would result in canceling one another out.

**Multiple Positions mode** means that traders can hold positions in both long and short directions at the same time under the same contract. For example, you could now hold both long and short positions of the BTCUSDT contract at the same time.

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