dominiktraxl/pykrakenapi

get_account_balance() error

Closed this issue · 2 comments

get_account_balance() is returning a result

pi\pykrakenapi.py", line 825, in get_account_balance
balance = pd.DataFrame(index=['vol'], data=res['result']).T
KeyError: 'result'

It seems that there was an error in the call to the Kraken API and the "result" key was not returned and, at the same time, the "error" array was also empty. That response seems to be not consistent with the documented Kraken API.

As this seems to be not related to pykrakenapi, I'm gonna close this.