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

Problem with get_account_info #1

Open
kiwandalabs opened this issue Dec 21, 2023 · 2 comments
Open

Problem with get_account_info #1

kiwandalabs opened this issue Dec 21, 2023 · 2 comments

Comments

@kiwandalabs
Copy link

Hi, I have been trying your api wrapper, and I found an error when trying to call the get_account_info function.

It always seems to generate an error because of invalid "signature".

Any clue about this?

@Floris272
Copy link
Owner

Hi, for me the following example works:

from mexc_api.spot import Spot

KEY = "YOURKEY"
SECRET = "YOURSECRET"

spot = Spot(KEY, SECRET)
print(spot.account.get_account_info())

Do you have "View Account Details" enabled?

And if it is still broken, could you check if it works with postman: https://github.com/mexcdevelop/mexc-api-postman

@kiwandalabs
Copy link
Author

Yes, I had, but for any reason I was getting that problem. I deleted the API key and got a new one and now it's working.
Easy solution at the end. By the way, I prefer your api wrapper to the official one. Good job!

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

2 participants