nothingisdead / npm-kraken-api

[DEPRECATED] NodeJS Client Library for the Kraken (kraken.com) API
Other
412 stars 188 forks source link

Getting tradebalance returns internal error. #58

Closed stece closed 6 years ago

stece commented 6 years ago

I'm trying to get my tradebalance of a certain asset on Kraken. However I'm getting a vague internal error.

Response.error: EGeneral:Internal error

It throws the exception at kraken.js:54

Code kraken.api('TradeBalance', { asset: 'XBT' }, function(error, data) { ... }):

stece commented 6 years ago

It was because I did not have a balance yet. After I transfered funds it started to work. However I would expect Kraken to just return 0.0€ instead of a vague internal error if there are no funds yet.