WEEX Exchange Setup
WEEX is a cryptocurrency derivatives exchange offering perpetual futures with competitive fees. This guide covers API setup and configuration.Prerequisites
1
Create WEEX Account
Register at weex.com
2
Complete Verification
Complete identity verification for full trading access
3
Enable Futures
Navigate to Futures trading and enable your account
4
Fund Account
Deposit USDT to your futures wallet
Creating API Keys
Step 1: Access API Settings
- Log in to WEEX
- Go to Account → API Management
- Click Create New API Key
Step 2: Set Permissions
Step 3: Create Passphrase
WEEX requires a passphrase in addition to API key and secret.This is an extra security layer - choose a strong passphrase and save it securely.
- Enter a secure passphrase (8+ characters)
- Confirm the passphrase
- Complete 2FA verification
Step 4: Save Credentials
You will receive three values:- API Key
- Secret Key
- Passphrase (you created this)
Adding WEEX to Quant Dash
Via Dashboard
- Navigate to Settings → Exchanges
- Click Add Exchange
- Select WEEX from the dropdown
- Enter your credentials:
- API Key: Your API Key
- API Secret: Your Secret Key
- Passphrase: Your chosen passphrase
- Click Test Connection
- If successful, click Save
Configuration Example
WEEX-Specific Features
Supported Features
| Feature | Supported | Notes |
|---|---|---|
| USDT Perpetuals | Yes | Primary market |
| Hedge Mode | Limited | Check per-symbol |
| Cross Margin | Yes | Default mode |
| Isolated Margin | Yes | Available |
| Maximum Leverage | 100x | Varies by symbol |
Authentication
WEEX uses HMAC SHA256 signature authentication with:- Timestamp header
- Signature header (Base64 encoded)
- Passphrase header
Symbol Format
- Dashboard input:
BTCUSDT - API format:
BTCUSDT_UMCBL(handled automatically)
Fee Structure
| Type | Fee |
|---|---|
| Maker | 0.02% (2 bps) |
| Taker | 0.06% (6 bps) |
Fees may vary based on VIP level. Check your account for current rates.
Rate Limits
If You Hit Rate Limits
- Reduce number of trading symbols
- Increase
grid_refresh_interval - Reduce
geometric_max_levels - Stagger bot start times
Transferring Funds
Deposit to Futures
- Go to Assets → Transfer
- Select Spot to Futures
- Choose USDT
- Enter amount and confirm
Check Balance
Navigate to Assets → Futures Account to see:- Available balance
- Position margin
- Unrealized PnL
Troubleshooting
”Authentication Failed”
- Verify all three credentials are correct:
- API Key
- Secret Key
- Passphrase
- Check for extra spaces in copied values
- Ensure API key hasn’t expired
”Invalid Passphrase”
- Passphrase is case-sensitive
- Re-enter exactly as created
- If forgotten, delete and recreate API key
”Insufficient Margin”
- Transfer funds from Spot to Futures
- Reduce position size
- Check available balance vs used margin
”Order Size Too Small”
- Check minimum order size for symbol
- Increase
quote_size_usdt - Some symbols require larger minimum orders
”Position Mode Mismatch”
- Check if hedge mode is enabled on WEEX
- The bot defaults to one-way mode
- Adjust position mode in WEEX settings
Security Recommendations
Three-Layer Security
WEEX’s passphrase requirement adds an extra security layer beyond standard API keys.
Even if your API key and secret are compromised, the attacker still needs your passphrase.
Best Practices
- Strong Passphrase: Use 12+ characters with mixed case, numbers, symbols
- No Withdraw Permission: Never enable - funds stay secure
- IP Whitelisting: If available, restrict to your server IP
- Regular Rotation: Change API keys every 90 days
- Monitor Trades: Check API activity logs periodically