You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 19, 2022. It is now read-only.
Hi, I'm trying to get data from the public API, using bitex.interfaces
Gives me the following error:
return_api_response: HTTPError for url https://api.gemini.com/v1/pubticker/BTC-USD Traceback (most recent call last): File "/home/aismail/anaconda3/lib/python3.6/site-packages/bitex/utils.py", line 40, in wrapper r.raise_for_status() File "/home/aismail/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: 400 Client Error: Bad Request for url: https://api.gemini.com/v1/pubticker/BTC-USD Error while applying formatter! Traceback (most recent call last): File "/home/aismail/anaconda3/lib/python3.6/site-packages/bitex/utils.py", line 61, in wrapper r.formatted = formatter(data, *args, **kwargs) File "/home/aismail/anaconda3/lib/python3.6/site-packages/bitex/formatters/gemini.py", line 17, in ticker return (data['bid'], data['ask'], None, None, None, None, data['last'], KeyError: 'bid'
The text was updated successfully, but these errors were encountered: