Can I automate TradingView alerts to Kraken through PickMyTrade?
Yes. PickMyTrade converts TradingView webhook alerts into signed Kraken REST API calls, so strategies and indicators that fire alerts can place spot or Kraken Futures orders without you writing code. You connect a Kraken API key (with the trade permission enabled) inside PickMyTrade, paste the webhook URL into your TradingView alert, and the alert payload is translated into an AddOrder request.
Does PickMyTrade support both Kraken spot and Kraken Futures?
Yes, but they are separate products with separate API endpoints. Spot orders use api.kraken.com (ex. BTC/USD), while Kraken Futures uses futures.kraken.com (ex. PF_XBTUSD perpetuals). In PickMyTrade you select which venue each alert targets because symbol formats, leverage, and margin behavior differ between the two.
What is the Kraken API 'nonce' error and how does PickMyTrade avoid it?
Kraken requires every private API call to include a strictly increasing nonce (usually a millisecond timestamp). If you run two bots on the same API key, or your clock drifts, you can get 'EAPI:Invalid nonce'. PickMyTrade manages nonces per key and recommends a dedicated API key for automation so a manual script or second tool does not race your alerts.
Which Kraken API permissions should I enable for a PickMyTrade key?
Enable 'Query Funds', 'Query Open Orders & Trades', and 'Create & Modify Orders'. Do NOT enable 'Withdraw Funds' - PickMyTrade never needs withdrawal rights, and leaving that off means a leaked key cannot drain your account. For futures, the equivalent checkboxes are under Kraken Futures > Settings > API Keys.
What symbol format does Kraken use in API orders?
Kraken often uses 'XBT' for Bitcoin instead of 'BTC', and pairs look like XBTUSD, ETHUSD, or XETHZUSD in older responses. Futures perpetuals are formatted like PF_XBTUSD and fixed-maturity contracts like FI_XBTUSD_240927. PickMyTrade normalizes the TradingView symbol to Kraken's format automatically.
Can I run a scalping bot on Kraken via PickMyTrade?
You can, but be mindful of Kraken's REST rate limits (tier-based counter that decays over time) and the typical 150-300 ms round-trip to api.kraken.com. For sub-second strategies, Kraken's WebSocket v2 API (used for fills and private order updates) is more appropriate, and Kraken Futures has better latency than spot.
Does Kraken have a WebSocket API for real-time data?
Yes. Kraken offers WebSocket v2 for public market data (ticker, book, OHLC, trades) and a private channel for own-trades and open-orders via a token fetched with GetWebSocketsToken. It is useful for reactive bots that need to see fills within tens of milliseconds rather than polling REST.
How do I handle partial fills from Kraken in an automated strategy?
Kraken returns a transaction ID (txid) for every order, and fills stream in on the private WebSocket channel 'ownTrades' or appear under QueryOrders. For TradingView-driven automation you usually want Immediate-or-Cancel or Fill-or-Kill flags so a partial fill does not leave a dangling resting order after the next alert fires.
What order types does the Kraken API support?
Spot supports market, limit, stop-loss, take-profit, stop-loss-limit, take-profit-limit, trailing-stop, trailing-stop-limit, settle-position, and iceberg on some pairs. Kraken Futures supports limit, market, stop, take-profit, post-only, IOC, and reduce-only. Post-only and reduce-only are especially important for hedged automated strategies.
Are there rate limits I should worry about when automating Kraken?
Yes. Spot REST uses a per-user counter that starts at 15 or 20 depending on verification tier and decays by roughly 0.33-1 per second. Hitting the limit returns 'EAPI:Rate limit exceeded' and a temporary lockout. PickMyTrade throttles and batches calls to stay well inside those limits.
Can I use leverage through the Kraken API?
Yes. On spot, pass the 'leverage' parameter (e.g. 3, 5) in AddOrder for eligible pairs - this opens a margin position instead of a fully funded spot trade. On Kraken Futures leverage is a contract property (up to 50x on some perps). Margin availability depends on your jurisdiction; US users have restricted access after the CFTC 2021 settlement.
How does PickMyTrade know the Kraken position size for percent-of-equity alerts?
PickMyTrade queries the Balance and OpenPositions endpoints on each alert to read free margin, then converts a percentage alert (e.g. '25% of equity') into the correct contract or base-currency quantity. This means API keys must include 'Query Funds' permission or the sizing calculation will fail.
Is there a sandbox or paper trading environment for Kraken?
Kraken Futures offers a demo environment at demo-futures.kraken.com with synthetic balances and identical API surface, which is ideal for testing automation before going live. Kraken spot does not currently offer an official testnet, so you typically test with very small order sizes on the live endpoint.
Can PickMyTrade reverse a Kraken position on a single alert?
Yes, when you enable the 'reverse on opposite signal' setting. On a long-to-short flip, PickMyTrade sends a market close of the existing spot/margin/futures position and then opens the new side, rather than requiring two separate TradingView alerts. On Kraken Futures, reduce-only flags are used for the closing leg.
Why did my Kraken bot order get rejected with 'EOrder:Insufficient funds'?
Either you do not have the base/quote currency, or a held balance (pending withdrawal, open order, unsettled margin) is blocking it. Check Balance vs TradeBalance - the difference is usually held funds. If you are running margin on spot, also check that the pair is enabled for margin in your region.
Does Kraken support IP allowlisting on API keys?
Yes. When creating an API key you can restrict it to specific IPs. For PickMyTrade you would allowlist the PickMyTrade dispatcher IPs listed in your account dashboard. This is strongly recommended in addition to disabling the Withdraw permission.
Can I automate DCA (dollar cost averaging) buys on Kraken?
Yes, two ways. Use TradingView to fire a time-based alert (e.g. daily at 09:00) into PickMyTrade, or use Kraken's native recurring-buy feature inside the app. The API approach gives you conditional DCA (e.g. buy only if price is below the 200-day MA), which the native feature does not support.
What happens to open Kraken orders if my PickMyTrade webhook fails?
Nothing on Kraken's side - resting limit orders stay live because they are stored by Kraken, not PickMyTrade. PickMyTrade will log the delivery failure and (if configured) retry. For safety, most automated strategies on Kraken use stop-loss orders attached server-side via conditional close so protection survives any webhook outage.
Does Kraken Futures support one-way vs hedge mode like Binance?
Kraken Futures uses a single net position per contract (one-way equivalent) - you cannot hold simultaneous long and short on the same perp. To run a hedge, you must trade two different instruments (e.g. spot long + futures short). Automation should assume net-position behavior when computing size.
Can I backtest a TradingView Pine strategy against Kraken data before automating?
Yes. TradingView has native Kraken price feeds for most major pairs, so a Pine strategy's backtest uses Kraken candles directly. After backtesting, the same strategy's alertcondition() fires into PickMyTrade live. Be aware that TradingView's historical resolution may not match Kraken's tick data exactly.
How many Kraken API keys should I create for automation?
At least one per bot or per strategy, and separate keys for spot vs futures. This isolates failures (a nonce conflict on one does not block the others) and makes revocation safe if a machine is compromised. Kraken allows multiple keys per account with individual permission sets.
Does PickMyTrade support Kraken conditional close orders?
Yes. When a TradingView alert opens a position, PickMyTrade can attach a conditional close (stop-loss or take-profit in the same AddOrder call) so the exit lives on Kraken's matching engine. This is more robust than relying on a second alert because the stop is enforced server-side even if your charting client disconnects.