kmadac / bitstamp-python-client

Python package to communicate with bitstamp.net
MIT License
143 stars 70 forks source link

why isn't the code updated to the 2.2.5 version? setup file still says 2.2.4.... #44

Closed GiusyColarusso closed 5 years ago

kmadac commented 5 years ago

Thanks for pointing out that version is not updated. I somehow forgot to push commit where version has been updated. Only tag 2.2.5 has been pushed. Also thanks for PR, but as I pushed existing commit from my own repo, I will close it.

GiusyColarusso commented 5 years ago

Thank you for your reply. When I try to make an order using Bitstamp api I get this error: (I tired to contact Bitstamp support but they told me that I have to contact the author of the code):

Traceback (most recent call last): File "Marangia.py", line 41, in trading_client.sell_market_order(amount=amount_tosell, base="btc", quote="usd") File "/Users/Giusy/anaconda3/lib/python3.6/site-packages/bitstamp/client.py", line 354, in sell_market_order return self._post(url, data=data, return_json=True, version=2) File "/Users/Giusy/anaconda3/lib/python3.6/site-packages/bitstamp/client.py", line 48, in _post return self._request(requests.post, *args, **kwargs) File "/Users/Giusy/anaconda3/lib/python3.6/site-packages/bitstamp/client.py", line 82, in _request response.raise_for_status() File "/Users/Giusy/anaconda3/lib/python3.6/site-packages/requests/models.py", line 935, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 403 Client Error: Authentication Failed for url: https://www.bitstamp.net/api/v2/sell/market/btcusd/

A few times it works but the majority of times it doesn’t… Please Help me solve this problem, what can I do?

thank you so much!

Il giorno 11 giu 2019, alle ore 14:26, Kamil Madac notifications@github.com<mailto:notifications@github.com> ha scritto:

Thanks for pointing out that version is not updated. I somehow forgot to push commit where version has been updated. Only tag 2.2.5 has been pushed. Also thanks for PR, but as I pushed existing commit from my own repo, I will close it.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/kmadac/bitstamp-python-client/issues/44?email_source=notifications&email_token=AGFPNFVV5H2YGVZTJ2RNMQLPZ6KW3A5CNFSM4HW4M4S2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXM6DDA#issuecomment-500818316, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AGFPNFX5WPWG7NKISXOVZUTPZ6KW3ANCNFSM4HW4M4SQ.

kmadac commented 5 years ago

Could you please create different issue for you question? I will check it asap.