Guide
Does Kraken have an API?
Yes. Kraken has a REST API for spot trading. You create an API key and a private key in Kraken's settings. Nyria connects Kraken with that pair. A TradingView alert can't call the API itself. It posts to Nyria's webhook, and the bot places the order.
Official documentation
Connect Kraken in five steps
- 1
Make a Kraken key
In Kraken, open Settings, then the API tab. Select Create API key and name it.
- 2
Set the permissions
Turn on Query Funds, Query Open/Closed Orders & Trades, Modify Orders and Cancel/Close Orders. Leave Withdraw Funds and Deposit Funds off.
- 3
Connect Kraken in Nyria
Open the Kraken card on Integrations. Paste the API key and the private key.
- 4
Point TradingView at Nyria
Create a strategy with TradingView as the source. Under Notifications, tick Webhook URL, paste the strategy's URL, then select Apply.
- 5
Test, then deploy
Run a paper bot first. Then deploy on Kraken and set a budget per entry.
What the API does
- Kraken's REST API places and cancels spot orders.
- Each private request carries your API key and a signature.
- The private key signs each request.
- Each key has its own permissions, set when you create it.
Why an alert can't call it
- A TradingView alert can't call the Kraken API itself.
- It sends a webhook. Something has to place the order.
- Nyria is that receiver, and it never places an order by itself.
- Your alerts and strategy rules decide every entry and exit.
How Nyria connects Kraken
- You paste the API key and the private key once.
- Nyria stores the keys encrypted at rest.
- It reads balances and places and cancels orders.
- It has no feature that moves money.
- A budget per entry sets the order size.
What it can't do
- Trade Kraken Futures. That is a separate connection with its own key.
- Short sell on spot.
- Let an alert set the order size.
- Move money. Withdraw Funds stays off.
Questions
- Can a TradingView alert call the Kraken API?
- No. An alert sends a webhook. Nyria receives it and places the order.
- Does Nyria need Withdraw Funds?
- No. Leave Withdraw Funds and Deposit Funds off.
- Does Kraken need an IP restriction?
- No. It's optional for Nyria.
- Which field is the secret?
- The private key. Some tools call it the API secret.
- Can I test before using real money?
- Yes. Run the strategy on Nyria Paper first. It's free.
- Does this cover Kraken Futures?
- No. Kraken Futures is a separate connection with its own key.
Next
- Paste an alert into the alert tester to see how Nyria reads it.
- Step by step for one account: how to automate TradingView to Kraken.
- Step by step for one account: how to automate TradingView to Nyria Paper.
- Kraken integration.
Guides
How broker API trading works
What a broker API does and does not do, and the receiver that reads your alerts and places the orders for you.
Read guideHow do I send TradingView webhooks to Kraken?
Paste a Nyria strategy URL into your alert. Nyria places the Kraken order.
Read guideCan Nyria withdraw money from my broker account?
No. Nyria reads balances and sends orders. Your cash stays at your broker.
Read guideWhich Kraken API key permissions does Nyria need?
Turn on query and order permissions on the Kraken key. Leave withdrawals off.
Read guideWhy does Nyria say Kraken rejected this key?
Copy the API key and private key again and paste them in.
Read guideWhy does Nyria say this Kraken key has expired?
Create a new key in Kraken and paste it into Nyria.
Read guideTry a paper bot first
No card required. Paper is free. Live trading from $15 a month.