A cursory look at your code suggests the problem might be that you need to execute the call to the Kraken API asynchronously and await the response. See this post.
A cursory look at your code suggests the problem might be that you need to execute the call to the Kraken API asynchronously and await the response. See this post.