HuobiRDCenter / huobi_Python

Python SDK for Huobi Spot API
https://huobiapi.github.io/docs/spot/v1/en
Apache License 2.0
682 stars 333 forks source link

Login required error when trying to create order #50

Closed lanle793 closed 4 years ago

lanle793 commented 4 years ago

I used huobi/impl/utils/apisignaturev2.py to create signature for placing an order but got a 'login required' error. Before that I used huobi/impl/utils/apisignature.py to create signature and got a 'signature not valid' error. What would be the correct way to create signature? My access key and secret key are correct since I can use them to check my balance. This is all done using Huobi testnet.

lanle793 commented 4 years ago

It was a typo-related issue.