Hi @Zee2Zahid
Rate : is basically no of time we call the api
Rate limit : is the maximum number of time we can call the api
rate limit error
{‘errorType’: ‘Rate_Limit’, ‘errorCode’: ‘DH-904’, ‘errorMessage’: ‘Too many requests on server from single user breaching rate limits. Try throttling API calls.’}
below are the rate limits
Also rate limit reset depends on what level limit is breached.
- If per minute rate limit is breached , it gets reset the next minute
- If per hour rate limit is breached , it gets reset the next hour
- If per day rate limit is breached , it gets reset the next day
when you call tsl.get_historical_data() 1 api request is spent.
we can manage rate limits by using time.sleep()
use below file to manage rate limits, is has sleep in build to manage rate limits