ccxt: Can't make POST requests for Kucoin
Can’t seem to make POST requests on Kucoin, it says that “Signature verification failed”. All GET requests have worked fine so far.
- OS: Mac OS
- Programming Language: Python (ipynb format)
- CCXT version: 1.10
- Exchange: Kucoin
- Method: create_order
ku_client.create_order('LTC/BTC', 'limit', 'buy', .01, 0.01655)
Result:
AuthenticationError: kucoin {"msg":"Signature verification failed","timestamp":1514554308458,"code":"UNAUTH","success":false}
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 27 (10 by maintainers)
Commits related to this issue
- added better error handling to kucoin for python #997 — committed to ccxt/ccxt by kroitor 7 years ago
- added temporary kucoin workaround for amount precision #997 — committed to ccxt/ccxt by kroitor 7 years ago
- fix kucoin exceptions + amount precision in Python #997 — committed to ccxt/ccxt by kroitor 7 years ago
Yeah, they’re having load issues. Sometimes that page works, (it does for me at the moment). Some more info when that page works:
So fetching (also using private api) works, placing orders doesn’t work.
ok great! I think both problems are solved.
@gaardiolor, ok, both problem 1 and problem 2 should be fixed in Python as of version 1.10.513 (again, wait 5-10 minutes, then update). Tested the python case. It works now (throws an adequate exception + does not need the .truncate anymore – will truncate up to precision for you). Let us know if it still doesn’t work on your side. Thx!
they’re working for me now thanks @kroitor !
my debugging proxy gets the following response:
@kroitor unfortunately still an error;
That’s when placing the order. Let me know if you need more info
Hmm did you try playing around with the sign method? Let me know if you find some solution!