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

  1. Click your name in the top-right
  2. Select Settings
  3. Click API in the left sidebar
  4. Or go to: Settings → API

Generate a New API Key

  1. Click Generate New Key
  2. Enter a description: TradeStaq Trading Bot
  3. Configure permissions (see below)
  4. 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

  1. Navigate to Dashboard → Exchanges
  2. Click Add Exchange

Select Kraken

Choose Kraken from the exchange list.

Select Exchange Type

Choose your trading mode:

TypeDescription
SpotTrade actual cryptocurrencies
FuturesTrade perpetual futures (Kraken Futures)
Paper TradingSimulated trading (no API needed)

Enter API Credentials

For live trading:

  1. API Key - Your Kraken public API Key
  2. API Secret - Your Kraken Private Key

For paper trading, no credentials needed.

Name Your Exchange (Optional)

Examples:

  • Kraken Spot
  • Kraken Futures - BTC
  • Kraken Main

Review and Create

  1. Review settings
  2. Click Create Exchange
  3. Wait for initial sync

Verification

After creation:

  1. Status should show Active
  2. Balance displays correctly
  3. 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

TierMakerTaker
Standard0.16%0.26%
Volume-based0.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:

Futures Features

  • Perpetual contracts (BTC, ETH, and more)
  • Up to 50x leverage
  • Cross-margin or isolated margin
  • Funding every 4 hours

Setting Up Futures

  1. Activate Kraken Futures on your account
  2. Create separate API keys on Futures platform
  3. Use those keys in TradeStaq
  4. 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:

  1. Go back to Kraken API settings
  2. Edit your API key
  3. Enable required permissions (see list above)
  4. 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:

  1. Check actual balance on Kraken
  2. Move funds to Trading account
  3. Wait for settlements
  4. 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:

Additional Resources