> ## 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.

# LTP and Binance

> LTP opens the Binance sub-account and creates its two API keys; you whitelist them and enter them in Blockhouse.

**1. Get your Binance sub-account and keys**

Ask your LTP account manager to provision a [DMA sub-account](https://docs.blockhouse.app/reference/glossary.md#dma-sub-account) on Binance for this strategy, set to Portfolio Margin, one-way mode and cross margin, with two separate API keys: a read-only key and a trading key. LTP creates the keys on Binance and sets their permissions. Portfolio Margin must be active before the keys are created, as a key created earlier can’t get the trading permission it needs.

**2. Whitelist and enter the read-only key**

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

In the LTP client, open **Account** → **API Management** and find the read-only key on your Binance DMA sub-account. Edit its IP whitelist and paste the IPs. Reveal its secret, which LTP shows only once, and paste the key and secret into **Read-only API Key** and **Read-only API Secret** in Blockhouse, with the key's passphrase on OKX and Bitget. Tick **IPs are whitelisted for read-only API**.

**3. Whitelist and enter the trading key**

In Blockhouse, choose **Copy** → **Comma** on the **Trading API IPs**. Then whitelist the trading key in **API Management** the same way, and paste it into **Trading API Key** and **Trading API Secret**. Tick **IPs are whitelisted for trading API**.

**4. Finish in Blockhouse**

Copy the 5-digit **accountId** of your Binance DMA sub-account from the LTP client, or ask your account manager for it. Use this ID, not the UID Binance assigns. In Blockhouse, on the **Binance** tab, enter it in **LTP account ID 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 [LTP guide](https://docs.blockhouse.app/open-an-account/connect-your-exchanges/prime-brokers/ltp), then [submit the Credentials step](https://docs.blockhouse.app/open-an-account/connect-your-exchanges).

> **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.