Security
Understand the custody model, credential permissions and remaining risks before connecting an account.
Prefer watching over reading? Below you'll find a short video that covers the same information as this page. Feel free to read the text, watch the video — or both!
Watch: Security of A-DCA explained
This video explains trade-only API permissions, encrypted credential storage and the custody model. Verify current provider settings and review the remaining risks described on this page.
What A-DCA can and cannot do
This is controlled by the OKX API key settings — not by us.
How we protect you
Trading-only API
When you create an API key on OKX, you choose its permissions. A-DCA requires 'Trade', not 'Withdraw'. This reduces direct withdrawal exposure, but a compromised trading key could still be used for harmful trades.
Withdrawal permission not requested
The withdrawal permission is never requested and never granted. This is enforced at the OKX level — not just our promise.
Encrypted storage
API credentials are encrypted at rest by the configured AES-256 service and decrypted by the trading runtime when needed. Encryption reduces exposure but does not eliminate server, secret-management or operator risk.
Your funds on OKX
A-DCA does not receive custody of the trading deposit. Bitcoin and USDT remain in the connected OKX account and are subject to OKX counterparty, account, policy and security risks.
How the connection works
A simple diagram of how A-DCA connects to your OKX account:
Hyperliquid: Reduce centralized custody exposure
Hyperliquid offers a non-custodial account model in which assets are associated with your wallet. The API wallet is configured for trading, while wallet, smart-contract and network risks remain.
OKX (CEX Model)
Hyperliquid (DEX Model)
API/Trading Wallet Separation
Hyperliquid uses a separate trading agent. It is not intended for withdrawal, but it can place orders and compromise can still create trading losses.
Hardware Wallet
A compatible hardware wallet can keep the main signing key on the device. Phishing, malicious approvals, device compromise and trading-agent risks still apply.
Non-Custodial DEX
Hyperliquid reduces reliance on a centralized exchange balance, while protocol, wallet and infrastructure risks still apply.
✅ A trading API wallet is not intended to withdraw USDC or BTC, but compromise can still cause losses through unauthorized or adverse trades.
Setting up securely
Create API key on OKX
In OKX settings, create a new API key. Select only 'Trade' permission. Do NOT select 'Withdraw'.
Add to A-DCA
Paste the API key and secret into A-DCA only after checking permissions. They are encrypted at rest, while operational and credential risks remain.
Robot starts trading
A-DCA uses the API key to place trades on your behalf while assets remain in the connected OKX account.
You stay in control
You can revoke the API key on OKX at any time. This immediately stops A-DCA from trading.
Watch these videos to see exactly how to create your OKX API key and register in A-DCA — the two steps described above.
Watch: How to create API keys on OKX
Step-by-step video: open the API menu on OKX, fill in the fields, and save your trading key securely.
Watch: Register & sign in to A-DCA
Full walkthrough of the A-DCA registration and sign-in process — from the form to your first successful login.
OKX REST API Integration
A-DCA uses standard OKX REST API v5 endpoints. No special permissions required beyond 'Trade'.
GET /api/v5/market/candlesOKX Docs ↗Get candlestick (OHLCV) data for the trading pair. Used to read current price and calculate technical indicators (RSI, CCI, Bollinger Bands).
POST /api/v5/trade/orderOKX Docs ↗Place a new market order (BUY or SELL). Used by the DCA algorithm to execute trades and by the risk management system to close positions.
GET /api/v5/trade/orderOKX Docs ↗Get details of a specific order by order ID. Used after placing an order to retrieve the actual fill price, amount, and commission.
GET /api/v5/account/balanceOKX Docs ↗Get account balance. Used to check available USDT and BTC balances before placing orders.
🔒 All API calls use 'Trade' permission only — withdrawal permission is never required.
Start with verified permissions
Review the account permissions, revoke procedure and trading risk disclosure before starting the free month.
🚀 Start Free Trial