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

# Bequant and OKX

> Bequant opens the OKX account and creates its two API keys; you whitelist them and enter them in Blockhouse.

**1. Request your OKX account and keys**

In Blockhouse, on the **OKX** tab of the Credentials step, copy the **Read-only API IPs** and the **Trading API IPs**.

Then ask your Bequant Support Rep to open an account on OKX for this strategy, set to Multi-currency margin with Auto-borrow on, and one-way mode, with two API keys: a reading key whitelisted to the **Read-only API IPs**, and a trading key whitelisted to the **Trading API IPs**. Send both lists with your request: Bequant's keys expire if they aren't whitelisted.

**2. Enter the keys in Blockhouse**

Once the keys are ready, open the **Accounts** page in Bequant PRO. Copy each key and its secret into the matching fields on the **OKX** tab in Blockhouse, and tick **IPs are whitelisted for read-only API** and **IPs are whitelisted for trading API**.

**3. Finish in Blockhouse**

In Bequant PRO, open **Accounts** and copy the **Account name** of the account whose **Exchange** is OKX. In Blockhouse, on the **OKX** tab, enter it in **Bequant account ID for OKX**.

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

> **OKX sources**
>
> Checked against OKX's help centre and API docs on 9 October 2026. OKX renames menus from time to time; if a label differs, use the nearest match.
>
> * [What is a sub-account](https://www.okx.com/en-us/help/what-is-sub-account)
> * [Sub-accounts, account mode and API connections FAQ](https://www.okx.com/en-us/help/subaccounts-account-mode-and-api-connections-faq)
> * [Trading settings FAQ](https://www.okx.com/en-us/help/trading-settings-faq)
> * [Comparing Futures mode and Multi-currency margin mode](https://www.okx.com/en-us/help/comparing-futures-mode-and-multi-currency-margin-mode)
> * [Borrowing and repaying in Multi-currency and Portfolio margin](https://www.okx.com/en-us/help/borrowing-and-repaying-in-multi-currency-and-portfolio-margin-account-modes)
> * [API FAQ](https://www.okx.com/en-us/help/api-faq)
> * [OKX API v5 docs](https://www.okx.com/docs-v5/en/)


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