I am using api for getting option chain data of 40 stocks, Code send 10 stocks ids per request in a batch with time delay of 3 seconds. some time it works some time it shows error like this-
ERROR:root:Exception in DhanHQConnection.POST: HTTPSConnectionPool(host=‘api.dhan.co’, port=443): Max retries exceeded with url: /v2/optionchain (Caused by SSLError(SSLEOFError(8, ‘[SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1020)’)))
Invalid response for ASIANPAINT
What is exact rate limit for option chain data of stocks ? Is it one security id per request every 3 second? or i can use 40 ids per request at once?