Web scraper: Investing.py
- Frankie Monzon
- Aug 21, 2018
- 1 min read
If you're in business valuation, are a Finance student, or are interested in the data science behind valuation, you've certainly run into how slow collecting data can be.
For those of you new to Python, a recently released package has made all of this far simpler. The Selenium package is designed to allow for automation of web-based tasks, these include downloading data, navigating webpages, and even interacting with various web-based services.
You can click buttons, send passwords, and log into sites. It is a very powerful package. Truly, with some imagination, the possibilities are endless.
In an effort to simplify the workflow of business valuation, at Finance Study Group, we've coded the following Selenium-based web scraper for collecting price-, index-, or bond yield data otherwise unavailable in R.
With the help of Investing.csv.xts, the program shared in the earlier LinkedIn post, we can then easily convert these automatically downloaded data to the xts format for further analysis.
See Finance Study Group for the program, supplementary information, and a brief set of tutorials for getting started in Python!
https://www.facebook.com/groups/746847828698106/
See more about Selenium below!
https://www.seleniumhq.org/
Comments