Connecting Kraken
This guide walks you through connecting your Kraken account to TradeStaq for spot and futures trading.
Prerequisites
Before connecting Kraken:
- A verified Kraken account (Starter tier or higher)
- API access enabled (automatic for most accounts)
- For futures: Kraken Futures account activated
Note: Kraken has strict tier requirements. Ensure your account tier supports API trading.
Creating API Keys on Kraken
Log into Kraken
Go to kraken.com and log into your account.
Navigate to API Settings
- Click your name in the top-right
- Select Settings
- Click API in the left sidebar
- Or go to: Settings → API
Generate a New API Key
- Click Generate New Key
- Enter a description:
TradeStaq Trading Bot - Configure permissions (see below)
- Complete 2FA verification
Configure API Permissions
Enable only the permissions you need:
For Spot Trading:
- ✅ Query Funds (Read balances)
- ✅ Query Open Orders & Trades
- ✅ Query Closed Orders & Trades
- ✅ Create & Modify Orders
- ✅ Cancel/Close Orders
For Futures Trading:
- ✅ All of the above, plus:
- ✅ Access Futures API (if available)
Security: Do NOT enable Withdraw Funds or Export Data. TradeStaq doesn't need these.
Nonce Window (Important)
Kraken uses a nonce system for API calls:
- Leave Nonce Window at default
- If experiencing issues, increase to 10-30 seconds
Save Your Credentials
Copy and save securely:
- API Key (public)
- Private Key (secret - shown only once)
Warning: The Private Key is only displayed once. Save it immediately in a password manager.
Adding Kraken to TradeStaq
Open Exchange Wizard
- Navigate to Dashboard → Exchanges
- Click Add Exchange
Select Kraken
Choose Kraken from the exchange list.
Select Exchange Type
Choose your trading mode:
| Type | Description |
|---|---|
| Spot | Trade actual cryptocurrencies |
| Futures | Trade perpetual futures (Kraken Futures) |
| Paper Trading | Simulated trading (no API needed) |
Enter API Credentials
For live trading:
- API Key - Your Kraken public API Key
- API Secret - Your Kraken Private Key
For paper trading, no credentials needed.
Name Your Exchange (Optional)
Examples:
Kraken SpotKraken Futures - BTCKraken Main
Review and Create
- Review settings
- Click Create Exchange
- Wait for initial sync
Verification
After creation:
- Status should show Active
- Balance displays correctly
- Try a Sync to verify connection
Kraken-Specific Features
Currency Pairs
Kraken uses specific notation:
- XXBTZUSD = BTC/USD
- XETHZUSD = ETH/USD
TradeStaq automatically handles conversions.
Order Types Supported
Kraken offers multiple order types:
- ✅ Market orders
- ✅ Limit orders
- ✅ Stop-loss orders
- ✅ Take-profit orders
- ✅ Stop-limit orders
Fees
| Tier | Maker | Taker |
|---|---|---|
| Standard | 0.16% | 0.26% |
| Volume-based | 0.00% - 0.14% | 0.10% - 0.24% |
Lower fees with higher 30-day volume.
Rate Limits
Kraken has tiered rate limits:
- Starter: 15 calls/second
- Intermediate: 20 calls/second
- Pro: Custom limits
TradeStaq respects these limits automatically.
Kraken Futures (Advanced)
Separate Platform
Kraken Futures is a separate platform:
- Different API credentials needed
- Separate balance from spot
- futures.kraken.com
Futures Features
- Perpetual contracts (BTC, ETH, and more)
- Up to 50x leverage
- Cross-margin or isolated margin
- Funding every 4 hours
Setting Up Futures
- Activate Kraken Futures on your account
- Create separate API keys on Futures platform
- Use those keys in TradeStaq
- Select Futures exchange type
Troubleshooting
"Invalid API Key" Error
Solutions:
- Verify key was copied completely (no spaces)
- Ensure Private Key matches the API Key
- Check if key was deleted on Kraken
- Regenerate key if needed
"Insufficient Permissions" Error
Solution:
- Go back to Kraken API settings
- Edit your API key
- Enable required permissions (see list above)
- Save and try again in TradeStaq
"Nonce" Errors
Kraken's nonce system can cause issues:
Solutions:
- Wait 1 minute and try again
- Increase Nonce Window on Kraken to 30 seconds
- Check system clock is synchronized
- Regenerate API key if persistent
Balance Not Updating
Possible causes:
- Funds in Staking/Earn (not trading balance)
- Withdrawal hold after deposit
- Need to settle trades
Solutions:
- Check actual balance on Kraken
- Move funds to Trading account
- Wait for settlements
- Force sync in TradeStaq
"Rate Limit" Errors
Solutions:
- Reduce bot spin frequency
- Upgrade Kraken account tier
- Wait 1-2 minutes between retries
- Contact support if persistent
Security Best Practices
API Key Management
- Create separate keys for different uses
- Rotate keys every 3-6 months
- Delete unused keys immediately
- Monitor API activity on Kraken
Account Security
- Enable 2FA (required for API)
- Use strong unique passwords
- Enable Master Key for critical changes
- Regularly review Security Log
Trading Security
- Start with paper trading
- Use small position sizes initially
- Set stop losses
- Monitor bot activity regularly
Kraken vs Other Exchanges
Advantages
- ✅ Strong regulatory compliance (US & EU)
- ✅ High security standards
- ✅ Good liquidity on major pairs
- ✅ Advanced order types
- ✅ Transparent fee structure
Considerations
- ⚠️ Fewer altcoin pairs than competitors
- ⚠️ Stricter API rate limits
- ⚠️ Requires account tier verification
- ⚠️ Futures on separate platform
Next Steps
Now that Kraken is connected:
- Create a Trading Bot - Automated trading
- Manual Trading - Direct execution
- Risk Management - Protect capital
- TradingView Integration - Signal bots
Additional Resources
Strategies available on Kraken
Deploy any of these 12 automated strategies on Kraken.