Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected Response from 'Balances' Endpoint #131

Closed
jimmyneutront opened this issue Mar 22, 2021 · 1 comment
Closed

Unexpected Response from 'Balances' Endpoint #131

jimmyneutront opened this issue Mar 22, 2021 · 1 comment

Comments

@jimmyneutront
Copy link

Versions

OS:       macOS 11.2.2
Python:   3.8
krakenex: 2.1.0

What are you trying to achieve?

Obtain an array of asset names and balance amounts

# code sample
import krakenex
krakenAPIKey = 'my_key_here'
krakenAPISecret = 'my_secret_here'
client = krakenex.API(krakenAPIKey, krakenAPISecret)
response = client.query_private('Balance')
print(response)

What do you expect to happen?

An array of asset names and balance amounts to be printed

What happens instead?

I receive a response dict that indicates and error, but without any kind of error message. I have tried other private endpoints with the same key and secret values, and they work with no issues.

# error message
{'error': []}
@jimmyneutront
Copy link
Author

This is the expected response from the 'Balances' endpoint when an account has no funding activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant