Obtain Finance Symbols for S&P 500,NASDAQ,AMEX,NYSE via Python

I recently completed  Computational Investing Part 1 which further tickled my curiosity. Before completing the course I  had started to play around with a few ideas.  To do any kind of analytics with finance relating to the stock market  you require symbols.

Created a simple module that uses BeatifulSoup  to parse the list of S & P 500 symbols from Wikipedia and nicely formats the data to be use programmatically an application.

You can grab the code here http://skillachie.github.io/finsymbols/

Gist of it. Will return to you a list of all the symbols and related information

 

Stay tuned to see how we then use the list of symbols to obtain prices for each symbol

 

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *