-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
Bithumb fetch_balance() Error(ver 1.9.153) #333
Comments
@whtwhtwht53 hi! I'll take a look into it and will get back to you soon! Thx for your report! P.S. An advice for future: use triple backticks formatting for readability: I'll be right back ) |
Thank you,Igor! P.S. This is the first issue I opened in GitHub,I will pay attention to it later :) |
@whtwhtwht53 can I ask you to paste your verbose output plz? Run this: bithumb1 = ccxt.bithumb()
bithumb1.apiKey = "*********************"
bithumb1.secret = "**********************"
bithumb1.verbose = True # ←--------------------------- add this line
print(bithumb1.fetch_balance()) And copy the output here (enclosed in triple backticks). Thx! |
Result
|
I succeed in getting account by bithumb‘s demo,its endPoint is
|
@whtwhtwht53 can you please update to latest version 1.9.166 (or higher) and retry the same code of yours: bithumb1 = ccxt.bithumb()
bithumb1.apiKey = "*********************"
bithumb1.secret = "**********************"
bithumb1.verbose = True # ←--------------------------- keep it for now
print(bithumb1.fetch_balance()) What do you see now having the latest version? |
I'sorry that I still cannot get balance,
|
@whtwhtwht53 ok, thx for reporting back, I'm going to debug it further and will get back to you asap with a fix for it. Hold on, please! |
I check demo's Post is 'endpoint=......' not ' endPoint=......' , does it matter? |
@whtwhtwht53 they actually have it different in various demos %)) I'll upload the lowercase "endpoint" and we'll try again, it may be the cause of the problem, yes. Just a second. |
I fix in my own code
but it still does not work
|
I update to 1.9.178, It still not works |
@whtwhtwht53 just a second, I think I found the problem... I'll update you very shortly. |
OK,and I find demo's code has
It decode api_sign to utf-8 , but the Result
does it matter |
@whtwhtwht53 we'll see, i'll upload first version of the fix in a few minutes and if it doesn't work, we'll try it with decode as well. One moment, please. |
@whtwhtwht53 can you please try it with v.1.9.179 now? It will either work or it will complain about |
I use pip in ubuntu ,but the version I can get is 1.9.179,not 180 |
@whtwhtwht53 sorry, it was a typo, the correct number is 1.9.179 |
Result
|
Alright! We're almost there. I'll upload another small fix now and it should finally work. Just one more minute please. |
Ok, let's update to 1.9.180 now and try it once again... Sorry for bothering you, I just have to defeat this bug. |
you don't bother me,I have to defeat this bug ,too :)
|
That's one nasty bug! Can you please update now to 1.9.181 and try it? We will eventually find the correct signature encoding, we already made it half through. |
It works!!!!!
|
Thank you for your hard working!! This project is amazing! |
Alright! We made it! ) Your help was awesome! Thx for your ivolvement, it really means a lot to us and many other users. Let us know if you have any other difficulties with the library. Cheers! |
OK.If I have other difficulties,I will contact you:) thx for your brilliant work again ~~ |
Code:
Result:
I have checked the doc , maybe the reason is that the function privatePostInfoBalance miss a params "currency"
The text was updated successfully, but these errors were encountered: