Archivos Mensuales: noviembre 2015

Below is a piece of Python code allowing to download option chains from NASDAQ website. It is basically a big function relying heavily on BeautifulSoup and wrapped into a class (‘c’est chic’). User provides the ticker, expiry and a some other arguments. He is then returned a pandas.DataFrame object containing options data.

Notice that I wrote this piece of code for some home research project. If you were to use it and actually download data from NASDAQ website, make sure it is ‘fair use’ as stipulated in its terms of use section. I will not be responsible or liable, directly or indirectly, in any way bla bla bla.