Market Cap: $2.219T -3.80%
Volume(24h): $129.2422B -1.59%
Fear & Greed Index:

20 - Extreme Fear

  • Market Cap: $2.219T -3.80%
  • Volume(24h): $129.2422B -1.59%
  • Fear & Greed Index:
  • Market Cap: $2.219T -3.80%
Cryptos
Topics
Cryptospedia
News
CryptosTopics
Videos
Top Cryptospedia

Select Language

Select Language

Select Currency

Cryptos
Topics
Cryptospedia
News
CryptosTopics
Videos

How to set up a Sub-Account on OKX for different strategies? (Management)

Sure! Please provide the article you'd like me to base the sentence on.

Apr 29, 2026 at 03:59 am

Sub-Account Initialization Process

1. Log in to the OKX web platform using your primary account credentials.

2. Navigate to the “Assets” section and select “Sub-Account Management” from the dropdown menu.

3. Click “Create Sub-Account”, enter a unique name, and assign a dedicated email address for notification routing.

4. Confirm creation by completing SMS or hardware wallet verification as prompted.

5. Immediately assign API permissions scoped to strategy-specific functions—no blanket “full access” grants are permitted.

Permission Granularity Control

1. Each sub-account supports role-based access control (RBAC) with pre-defined templates: “Spot Trader”, “Derivatives Analyst”, and “Risk Monitor”.

2. Custom permission sets can restrict API endpoints to exact methods—e.g., allowing GET /api/v5/account/balance but blocking POST /api/v5/trade/order.

3. Withdrawal rights are disabled by default and require separate approval via email confirmation signed with the master account’s passphrase.

4. IP whitelisting is enforced per sub-account; no shared proxy or NAT gateway addresses are accepted during setup.

5. Time-bound permissions can be scheduled—for example, enabling futures leverage adjustment only between 08:00–16:00 UTC on weekdays.

API Integration for Multi-Strategy Deployment

1. Initialize the SubAccountAPI module using distinct credential sets per sub-account: SubAccount.SubAccountAPI(api_key_a, secret_key_a, passphrase_a, False, '0').

2. Use get_subaccount_list() to retrieve active identifiers before executing any balance or order operations.

3. Batch asset queries must specify comma-separated sub-account names—not IDs—to avoid internal mapping errors in v5 response parsing.

4. Leverage mode configuration requires prior validation of margin tier eligibility via get_subaccount_margin_ltv(), which returns real-time LTV thresholds per instrument class.

5. Order placement through sub-accounts enforces TD-mode isolation: cash, margin, and portfolio margin modes cannot be mixed within a single sub-account context.

Funding Flow Orchestration

1. Internal transfers between sub-accounts execute instantly with zero fees and no blockchain confirmation delay.

2. The funding.transfer() method mandates explicit specification of both source and target sub-account names—not just IDs—to prevent accidental cross-strategy fund movement.

3. Transfer history is logged separately per sub-account and does not appear in the master account’s general ledger unless explicitly aggregated via reporting API.

4. Automated funding rules can be defined using time-triggered scripts that invoke set_subaccount_level() to adjust risk exposure caps before market open.

5. Negative balances are prohibited at the sub-account layer; any attempted over-withdrawal triggers immediate suspension until manual override by the master account holder.

Common Questions & Direct Answers

Q: Can a sub-account generate its own API key independent of the master account?A: No. All sub-account API keys must be created under the master account’s API management interface and are bound to its security policies and audit trail.

Q: Is it possible to view PnL across multiple sub-accounts in a single consolidated report?A: Yes. The get_subaccount_pnl_summary() endpoint accepts a list of sub-account names and returns unified daily, weekly, and monthly PnL figures with instrument-level breakdowns.

Q: What happens to open orders when a sub-account is deleted?A: All pending orders are automatically canceled prior to deletion. No partial execution or orphaned state is permitted.

Q: Do sub-accounts inherit the master account’s KYC level?A: Yes. Sub-accounts operate under the same jurisdictional compliance tier as the master account; no individual KYC submission is required or allowed.

Disclaimer:info@kdj.com

The information provided is not trading advice. kdj.com does not assume any responsibility for any investments made based on the information provided in this article. Cryptocurrencies are highly volatile and it is highly recommended that you invest with caution after thorough research!

If you believe that the content used on this website infringes your copyright, please contact us immediately (info@kdj.com) and we will delete it promptly.

Related knowledge

How to use Kraken's proof of reserves to verify that my funds are backed?

How to use Kraken's proof of reserves to verify that my funds are backed?

Jun 02,2026 at 08:59am

Bitcoin Halving Mechanics1. Bitcoin’s protocol enforces a block reward reduction every 210,000 blocks, roughly every four years. 2. The most recent ha...

How to fix

How to fix "security verification failed" when withdrawing from Bybit after changing device?

May 28,2026 at 06:59pm

Bitcoin Halving Mechanics1. Bitcoin’s protocol enforces a fixed issuance schedule where the block reward is cut in half approximately every 210,000 bl...

How to fix

How to fix "unable to link bank — name mismatch" on Coinbase?

May 29,2026 at 06:19am

Understanding the Name Mismatch Error1. The error occurs when the legal name registered on a Coinbase account does not exactly match the name as it ap...

How to fix

How to fix "network maintenance" causing delayed deposits on OKX?

May 31,2026 at 10:00pm

Understanding Network Maintenance Impact on OKX Deposits1. Network maintenance events on OKX are not arbitrary interruptions—they reflect scheduled in...

How to use the Bybit Insurance Fund and how does it protect traders?

How to use the Bybit Insurance Fund and how does it protect traders?

May 28,2026 at 10:19pm

Insurance Fund Architecture1. The Bybit Insurance Fund operates as a reserve pool specifically designed to cover losses arising from auto-deleveraging...

How to use Coinbase Direct Deposit to receive paycheck in crypto?

How to use Coinbase Direct Deposit to receive paycheck in crypto?

Jun 02,2026 at 10:20pm

Coinbase Direct Deposit Mechanics1. Users must first complete full identity verification on Coinbase, including government-issued ID upload and addres...

How to use Kraken's proof of reserves to verify that my funds are backed?

How to use Kraken's proof of reserves to verify that my funds are backed?

Jun 02,2026 at 08:59am

Bitcoin Halving Mechanics1. Bitcoin’s protocol enforces a block reward reduction every 210,000 blocks, roughly every four years. 2. The most recent ha...

How to fix

How to fix "security verification failed" when withdrawing from Bybit after changing device?

May 28,2026 at 06:59pm

Bitcoin Halving Mechanics1. Bitcoin’s protocol enforces a fixed issuance schedule where the block reward is cut in half approximately every 210,000 bl...

How to fix

How to fix "unable to link bank — name mismatch" on Coinbase?

May 29,2026 at 06:19am

Understanding the Name Mismatch Error1. The error occurs when the legal name registered on a Coinbase account does not exactly match the name as it ap...

How to fix

How to fix "network maintenance" causing delayed deposits on OKX?

May 31,2026 at 10:00pm

Understanding Network Maintenance Impact on OKX Deposits1. Network maintenance events on OKX are not arbitrary interruptions—they reflect scheduled in...

How to use the Bybit Insurance Fund and how does it protect traders?

How to use the Bybit Insurance Fund and how does it protect traders?

May 28,2026 at 10:19pm

Insurance Fund Architecture1. The Bybit Insurance Fund operates as a reserve pool specifically designed to cover losses arising from auto-deleveraging...

How to use Coinbase Direct Deposit to receive paycheck in crypto?

How to use Coinbase Direct Deposit to receive paycheck in crypto?

Jun 02,2026 at 10:20pm

Coinbase Direct Deposit Mechanics1. Users must first complete full identity verification on Coinbase, including government-issued ID upload and addres...

See all articles

User not found or password invalid

Your input is correct