-
Notifications
You must be signed in to change notification settings - Fork 284
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Authenticated calls occasionally return "NO_API_RESPONSE" #151
Comments
Probably an issue with 2.0, older versions won't give me |
I'm using v1.1 though |
I'm seeing this as well. I couldn't find an answer so I'm just writing my code to retry if this happens. |
Ya I have been assuming this is a failure on bittrex to send back the correct data on an API call. It is especially bad when you place an order and get back the NO API RESPONSE but the order goes through. I have had to account for this, and I honestly still think it is their API. I am no in the transition their websockets but sometimes those close on me for no reason either. |
Wow, I forgot that is a potential case. Very unfortunate that such an issue exists. |
I have the same issue with v1.1. Even trade feedback is missing sometimes. I think one issue is that the python-bittrex just silently swallows what is the real error in bittrex.py/_api_query: If I add some extra details the real exception in the background is: So look like Bittrex is not answering at least in this one case. |
This issue was brought up a while ago but closed with no followup.
I'm using this to get the balance after creating an authenticated object:
balance = bittrex.get_balance(currency='BTC')['result']['Balance']
When I make the call, I occasionally get the response
{'result': None, 'message': 'NO_API_RESPONSE', 'success': False}
This happens about 5% of the time. It successfully returns the balance most of the time. First I thought it was a rate limit issue, so I tried waiting about 15 seconds before making each call, but it still runs into the error. This also happens sometimes (though less often) when I try other calls, like getting ask price for a market.
Can anybody provide some insight?
The text was updated successfully, but these errors were encountered: