1
Ask your LTP account manager to provision a DMA sub-account on OKX for this strategy, set to Multi-currency margin with Auto-borrow on, and one-way mode, with two separate API keys: a read-only key and a trading key. LTP creates the keys on OKX and sets their permissions.
2
Whitelist and enter the read-only key
In Blockhouse, on the OKX 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 OKX 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 OKX DMA sub-account from the LTP client, or ask your account manager for it. Use this ID, not the UID OKX assigns. In Blockhouse, on the OKX tab, enter it in LTP 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 LTP guide, then submit the Credentials step.
OKX sources
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.