> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blockhouse.app/llms.txt
> Use this file to discover all available pages before exploring further.

# BIT and Binance

> Get a Binance sub-account from BIT, set up Portfolio Margin, one-way mode and cross margin, then create its two API keys and enter them in Blockhouse.

> [!WARNING]
>
> Follow these steps in order. Portfolio Margin must be active before you create the keys: a key created earlier can't get the trading permission it needs.

**1. Apply for your Binance sub-account**

In the BIT Prime Brokerage portal, open **Accounts** → **Open Account**. On the **CEFI** tab, choose **Application** next to Binance, then set:

* **Account's Type:** where it's offered, the type the strategy needs, such as **Portfolio Margin** on Binance
* **Custody:** **Binance with no external Custody**
* **Account's Api:** **Create API by yourself**

Choose **Confirm** and complete the verification. BIT usually approves the sub-account within a day. Then, in **Accounts** → **My Accounts**, choose **Login Info** on its row for the sub-account's login, and log in to it for the steps below.

> [!NOTE]
>
> The other custody options, such as Ceffu, Copper or Oasis, are only needed if you're taking out a loan through BIT. If you are, ask BIT which one to choose, and make sure every sub-account you apply for is in the same [risk control unit (RCU)](https://docs.blockhouse.app/reference/glossary.md#risk-control-unit-rcu): confirm both with your BIT contact.

<video autoPlay src="https://mintcdn.com/blockhouse/lG-XTofc-2encmxB/images/bit-request-sub-account.mp4?fit=max&auto=format&n=lG-XTofc-2encmxB&q=85&s=171a86cf261614379a836b1199b1454c" aria-label="Accounts, then Open Account, then Application next to Binance, with Portfolio Margin, no external custody and Create API by yourself chosen before Confirm" />

**2. Check Portfolio Margin is on**

In the sub-account, open the **USDⓈ-M** futures page, then the settings icon in the top bar. On the **Features** tab, open **Account Mode**: **Portfolio Margin** should be marked **Current Mode**. If it isn't, ask BIT to activate it before you create the keys.

<video autoPlay src="https://mintcdn.com/blockhouse/lG-XTofc-2encmxB/images/binance-1-portfolio-margin.mp4?fit=max&auto=format&n=lG-XTofc-2encmxB&q=85&s=8e68122bd04fd54a1c7f6c7120159fdb" aria-label="Opening settings, then Features and Account Mode, where Portfolio Margin is marked Current Mode" />

**3. Set one-way mode**

On the same page, check the margin badge above the order form reads **Cross**. Then in settings, on the **Features** tab, open **Position Mode** and choose **One-way Mode**.

<video autoPlay src="https://mintcdn.com/blockhouse/lG-XTofc-2encmxB/images/binance-2-one-way-and-cross.mp4?fit=max&auto=format&n=lG-XTofc-2encmxB&q=85&s=3c75ac8af40feabfbfc1b9bf98d7f5c8" aria-label="Opening the Cross badge, then settings, Features and Position Mode, with One-way Mode chosen" />

**4. Create the read-only key**

In Blockhouse, on the **Binance** tab of the Credentials step, choose **Copy** → **Space** on the **Read-only API IPs**.

On Binance, in the sub-account, open the profile menu → **API Management** → **Create API**, choose **System generated** and **Next**, enter a label such as `Blockhouse read-only`, and complete the security verification. Paste the **API Key** and **Secret Key** into **Read-only API Key** and **Read-only API Secret** in Blockhouse straight away: Binance doesn't show the secret in full again.

Then choose **Edit restrictions**: leave only **Enable Reading** ticked, choose **Restrict access to trusted IPs only**, paste the IPs and choose **Confirm**. Choose **Save** and complete the verification again. In Blockhouse, tick **IPs are whitelisted for read-only API**.

<video autoPlay src="https://mintcdn.com/blockhouse/lG-XTofc-2encmxB/images/binance-3-read-only-key.mp4?fit=max&auto=format&n=lG-XTofc-2encmxB&q=85&s=4e51ad7614bb9cc5432ca5a58aeacd1d" aria-label="Creating a system-generated key, then editing its restrictions to Enable Reading only, with trusted IPs pasted and confirmed before Save" />

**5. Create the trading key**

In Blockhouse, choose **Copy** → **Space** on the **Trading API IPs**, then create a second key on Binance the same way, with a label such as `Blockhouse trading`, and paste it into **Trading API Key** and **Trading API Secret**.

In **Edit restrictions**, choose **Restrict access to trusted IPs only**, paste the IPs and choose **Confirm** first: Binance only allows trading permissions on a key restricted to trusted IPs. Then tick:

* **Enable Spot & Margin & Stock Trading**
* **Enable Portfolio Margin Trading**

Leave every other permission off, including **Enable Margin Loan, Repay & Transfer** and **Permits Universal Transfer**, so your funds stay in your control. Choose **Save**, complete the verification, and in Blockhouse tick **IPs are whitelisted for trading API**.

<video autoPlay src="https://mintcdn.com/blockhouse/lG-XTofc-2encmxB/images/binance-4-trading-key.mp4?fit=max&auto=format&n=lG-XTofc-2encmxB&q=85&s=89065016baf496a482c3f020870b6fa5" aria-label="Creating a second system-generated key, restricting it to trusted IPs, then ticking Enable Spot & Margin & Stock Trading and Enable Portfolio Margin Trading before Save" />

**6. Finish in Blockhouse**

In the BIT Prime Brokerage portal, open **Accounts** → **My Accounts**. In the **Sub-account List**, copy the **Account Number** for Binance, for example `1234567_binance_000001`. In Blockhouse, on the **Binance** tab, enter it in **BIT account number for Binance**.

Check that every key field on the tab is filled in and both IP boxes are ticked. Set up any other exchange from the [BIT guide](https://docs.blockhouse.app/open-an-account/connect-your-exchanges/prime-brokers/bit), then [submit the Credentials step](https://docs.blockhouse.app/open-an-account/connect-your-exchanges).

<video autoPlay src="https://mintcdn.com/blockhouse/lG-XTofc-2encmxB/images/bit-2-account-list.mp4?fit=max&auto=format&n=lG-XTofc-2encmxB&q=85&s=8fd7ba48653d4f25ab2e073708560198" aria-label="Accounts, then My Accounts, showing the Sub-account List with each account's Account Number and Exchange" />

> **Binance sources**
>
> Checked against Binance's help centre on 9 October 2026, and on screen on 19 October 2026. Binance renames menus from time to time; if a label differs, use the nearest match.
>
> * [Sub-Account Functions and FAQ](https://www.binance.com/en/support/faq/binance-sub-account-functions-and-frequently-asked-questions-360020632811)
> * [How to Create API Keys on Binance](https://www.binance.com/en/support/faq/how-to-create-api-keys-on-binance-360002502072)
> * [How to Activate the Portfolio Margin Mode](https://www.binance.com/en/support/faq/how-to-activate-the-portfolio-margin-mode-on-binance-7ee6b3f65d5a421491c0a5588223fd14)
> * [Binance Portfolio Margin API](https://www.binance.com/en/support/faq/binance-portfolio-margin-api-ccf04078d7774d479f11ae15c4f56081)
> * [What Is Hedge Mode and How to Use It](https://www.binance.com/en/support/faq/what-is-hedge-mode-and-how-to-use-it-360041513552)
> * [How to Switch Between the Cross Margin and Isolated Margin Modes](https://www.binance.com/en/support/faq/how-to-switch-between-the-cross-margin-and-isolated-margin-modes-360038075852)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.