python-bittrex icon indicating copy to clipboard operation
python-bittrex copied to clipboard

{'result': None, 'success': False, 'message': 'INVALID_SIGNATURE'}

Open karthikdhanusu opened this issue 7 years ago • 9 comments

I made the following changes in bittrex code still I am getting invalid signature error

request_url += urllib.parse.urlencode(options) signature = hmac.new(self.api_secret.encode('utf-8'), request_url.encode('utf-8'), hashlib.sha512).hexdigest()

can someone help me ?

karthikdhanusu avatar Feb 08 '18 06:02 karthikdhanusu

It works with python 2.7 not on python 3

karthikdhanusu avatar Feb 13 '18 15:02 karthikdhanusu

I'm also running into this error!

FullKickProductions avatar Mar 01 '18 11:03 FullKickProductions

Is there no workaround? I have to stick with python 3 to support some of the other libraries I'm using! Any help will be hugely appreciated.

FullKickProductions avatar Mar 17 '18 16:03 FullKickProductions

You can run Python 2.7 and 3 in separate install folders (i'm on mac) and then when running python 2.7 you just call it with python2.7 if my memory serves me right.

cryptobeaver avatar Mar 23 '18 00:03 cryptobeaver

Thanks for the response @cryptobeaver, The trouble is that my application has to use python 3.6 in order to support some of the other libraries. I don't want to drop support for any of them, but I would like to support bittrex trading. Unless I can call the bittrex methods from python 3.6, I'm going to have to find another exchange to work with :(

FullKickProductions avatar Mar 25 '18 09:03 FullKickProductions

Bump

forgetso avatar Dec 02 '18 23:12 forgetso

Bump again

hpr0009 avatar Dec 05 '18 00:12 hpr0009

I have fixed this in a fork: https://github.com/forgetso/python-bittrex/commit/6d0cb933e47a64a4972f621695b3362e66ec191a

forgetso avatar Dec 11 '18 15:12 forgetso

I have fixed this in a fork: forgetso@6d0cb93

I'm still getting this error even with your fix. Anyone still having this issue? Or are you using V1.1?

g0tzz avatar Mar 25 '19 20:03 g0tzz