Open sukhwant280 opened 3 years ago
hi, response code - 200 means the requested action has been performed without any problems.
could you please specify what issue you are facing ?
also the time.sleep(10)
, you can reduce the time between requests (to around 1s or so),
you can check the number of requests remaining using bitbnsObj.getApiUsageStatus()
the error i get is " KeyError: "Try running with errors='ignore' as key 'code' is not always present"
Also the JSON output stored in data - dataframe is" Some error in get req"
this usually happens when i run for 30 coins and i have double checked in UI that the bid /ask is present for those 30 coins.
If i make time.sleep(10) to 1s, then it gives the above error more frequently.
1) What is the limit for no of requests? and can this be increased?
- API limit is per month or per day?
per minute.
Thanks Sanket for the above.
Please advise on the error while requesting for 20 coins together. checked the ApiUsageStatus and its in abundance.
Describe your environment
Your question
Get error code 200, while running a loop for 10 coins
Please advise solution, as i dont want to use time.sleep function and sometimes, it still gives error in fetching data
Ticker list is here:
BTCUSDT ETHUSDT XRPUSDT ADAUSDT TRXUSDT LTCUSDT BCHUSDT