Scrape stock data for canadian companies and store in a database.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
BeautifulSoup.py
README.md
pleco.py

README.md

Stock Scraper for Canadian Financial Data

Scrapes several online sources to get:

  1. A list of symbols and company names on the Toronto Stock Exchange
  2. The industries of the companies
  3. Current prices of the stocks
  4. Quarterly and annual EPS and revenue for the past year.

The information is then stored in an SQLite database.

Usage: Scrape the company data ./pleco.py --all

Output a table of the most growing companys: ./pleco.py --process

This table is calculated by running a specific screen, defined in the filt() function. It excludes all oil and mineral companies and looks for companies that have been growing revenue and EPS consistently for a number of years, and also have a low P/E ratio. Please note that companies in this list may not be particularly good investments.