Nasdaq/data-link-python

Timeout for hung requests

Opened this issue · 3 comments

Sometimes when downloading a lot of data from NasdaqDataLink, I get a hung connection during the ssl handshake. The requests library, which is being used to make requests, can take a timeout parameter, but this is not exposed through the API as far as I can tell.

What's the best way to retry after a timeout?

I noticed that the ApiConfig and Connection have retry parameters, but it still appears to be hanging.