-
bitcoin $77625.828729 USD
0.62% -
ethereum $2517.417853 USD
0.13% -
tether $0.999544 USD
-0.01% -
bnb $723.660100 USD
0.16% -
xrp $1.386011 USD
1.82% -
usd-coin $0.999860 USD
0.01% -
solana $101.519022 USD
0.20% -
tron $0.339380 USD
-0.12% -
hyperliquid $79.865341 USD
1.22% -
zcash $1136.272189 USD
-0.43% -
dogecoin $0.084270 USD
-0.24% -
monero $505.727561 USD
-4.73% -
chainlink $11.414119 USD
-0.35% -
unus-sed-leo $8.961937 USD
-1.04% -
cardano $0.209002 USD
0.75%
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.
- Crypto Clarity Act, SEC, and CFTC: A New York State of Regulation
- 2026-09-14 13:05:01
- Oil Surges, Bitcoin Holds Steady, Gold Watches as Fed Decision Looms
- 2026-09-14 13:10:02
- Clarity Act Passage Odds: Conflicting Figures Cloud the Forecast
- 2026-09-14 13:05:01
- House Ways and Means Schedules Crypto Tax Bills Review, Focus on Mining and Staking Clarity
- 2026-09-14 12:55:02
- Clarity Act, Polymarket, Clarity Act Odds: A Shifting Legislative Landscape
- 2026-09-14 13:00:02
- Bitcoin Price Nears Bull Market Signal: Key Insights on Bitcoin's Bull Market Signal Amidst Shifting Cycles
- 2026-09-14 13:00:02
Related knowledge
How to Check BTC Perpetual Funding on OKX?
Sep 12,2026 at 07:19pm
Funding Rate Mechanics on OKX BTC Perpetual1. The BTC-USDT perpetual contract funding rate is calculated every eight hours at UTC 00:00, 08:00, and 16...
How to Close Part of an OKX Futures Position?
Sep 10,2026 at 10:39am
Understanding Partial Position Closure Mechanics1. OKX futures contracts support partial closure through standard order placement, not via dedicated '...
How to Add Margin to an OKX Position?
Sep 10,2026 at 07:20am
Market Volatility Patterns1. Price swings exceeding 15% within a 24-hour window have occurred in over 68% of Bitcoin’s trading days since Q3 2022. 2. ...
How to Change Margin Mode on OKX Futures?
Sep 09,2026 at 12:00am
Understanding Margin Mode Fundamentals1. Margin mode determines how collateral is allocated across positions in OKX futures trading. 2. Isolated margi...
How to Set a Stop-Limit Order on OKX?
Sep 14,2026 at 06:59am
Bitcoin Halving Mechanics1. Bitcoin’s protocol enforces a fixed issuance schedule where block rewards are cut in half approximately every 210,000 bloc...
How to View BTC Liquidation Data on OKX?
Sep 13,2026 at 09:20am
Market Volatility Patterns1. Price swings exceeding 15% within a 24-hour window have occurred in over 68% of Bitcoin’s trading days since 2021. 2. Eth...
How to Check BTC Perpetual Funding on OKX?
Sep 12,2026 at 07:19pm
Funding Rate Mechanics on OKX BTC Perpetual1. The BTC-USDT perpetual contract funding rate is calculated every eight hours at UTC 00:00, 08:00, and 16...
How to Close Part of an OKX Futures Position?
Sep 10,2026 at 10:39am
Understanding Partial Position Closure Mechanics1. OKX futures contracts support partial closure through standard order placement, not via dedicated '...
How to Add Margin to an OKX Position?
Sep 10,2026 at 07:20am
Market Volatility Patterns1. Price swings exceeding 15% within a 24-hour window have occurred in over 68% of Bitcoin’s trading days since Q3 2022. 2. ...
How to Change Margin Mode on OKX Futures?
Sep 09,2026 at 12:00am
Understanding Margin Mode Fundamentals1. Margin mode determines how collateral is allocated across positions in OKX futures trading. 2. Isolated margi...
How to Set a Stop-Limit Order on OKX?
Sep 14,2026 at 06:59am
Bitcoin Halving Mechanics1. Bitcoin’s protocol enforces a fixed issuance schedule where block rewards are cut in half approximately every 210,000 bloc...
How to View BTC Liquidation Data on OKX?
Sep 13,2026 at 09:20am
Market Volatility Patterns1. Price swings exceeding 15% within a 24-hour window have occurred in over 68% of Bitcoin’s trading days since 2021. 2. Eth...
See all articles














