Skip to content

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. 1

    Make a Kraken key

    In Kraken, open Settings, then the API tab. Select Create API key and name it.

  2. 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. 3

    Connect Kraken in Nyria

    Open the Kraken card on Integrations. Paste the API key and the private key.

  4. 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. 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

Try a paper bot first

No card required. Paper is free. Live trading from $15 a month.