Uses beautiful soup to web scrape data from http://shortsqueeze.com/. This script launches an automated chrome window to scrape data from short squeeze.com using tickers from the SPX500 wikipedia page. This program configures selenium's chrome webdrive to use Tor's (free browser) proxy. This enables us to get more than the limited daily quotes from short squeeze which are based on public I.P. address. Tor must be open while the program runs.
It outputs a file (result.csv) file in the directory from which the script was executed.
python shortScanner.py --outputFileName results.csv
Example results for July 7, 2020.
Install python 3.
Install Tor browser.
Install required python packages:
pip install urllib
pip install beautifulsoup4
pip install requests
pip install selenium
pip install pandas
Have TOR browser open while the script is running.