Make sure to setup your Kraken API as follows:

  • Enable Funds Query
  • Enable all Orders operations (query, create and cancel)
  • Enable WebSocket interface
  • Although not required, it is advised to allow access from your IP address only