Is there a website that offers free download or API where I can get an up-to-date list of all securities listed on the TSX along with their sector/industry? I could scrape individual screens for each stock on the web, but I'd like to find a single source of data for all stocks...Thanks!
-
$\begingroup$ Which sector/industry classification scheme are you interested in? There are lots to choose from.... NAICS, GICS (S&P/MSCI), DJICS (Dow Jones), ICB (FTSE), TRBC (Thomson Reuters). $\endgroup$– Richard at NorgateDataMar 16, 2016 at 13:26
-
$\begingroup$ @NorgateData Any one I can get, really...GICS would be great $\endgroup$– BrunoMar 16, 2016 at 13:27
5 Answers
I have been using Yahoo-ticker-downloader.py to download tickers from Yahoo! It returns MOST tickers from international exchanges and returns Ticker, Company Name, Exchange, Sector, and Category Number. Here are 1,500+ tickers form the Toronto & TSX Venture Exchanges: You're Welcome
-
$\begingroup$ Thank you very much for your answer, this is pretty much the best I will get. One thing, the two last columns in the sample file you provided are "categoryName" and "categoryNr" so I believe there is only one level (probably industry thus the most precise...so the sector could be inferred from the category provided) and not two (sector + industry), do you agree? $\endgroup$– BrunoFeb 6, 2017 at 14:33
-
$\begingroup$ They should be sorted to see, for example code 422 == Asset Management, but I think they are the same for all stocks. $\endgroup$– RimeFeb 7, 2017 at 0:26
The Toronto Stock Exchange has an API that returns all of the listed tickers in JSON format. Unfortunately it does not contain the industry/sector data.
https://www.tsx.com/json/company-directory/search/tsx/^*
The ^*
at the end is a regular expression.
-
2$\begingroup$ Using
^
instead of.*
seems to give more results. Worth noting that api.tmxmoney.com/en/migreport/search seems to give more results than this endpoint does. Also, there is a TSXV enpoint: tsx.com/json/company-directory/search/tsxv^ $\endgroup$ Feb 21, 2019 at 14:54
You can use the stock screener provided by the exchange. You can specify your criteria (Exchange = Toronto) and once you get the results, you can click on "Edit columns" and add the Sector.
The results are limited to 400 per run, but you can easily split your search into chunks by your choice of filter. For example you can filter by Market Cap 0-100M, then 100M-200M, and so on. Takes a few minutes but gets you the full list in the end.
-
$\begingroup$ Thanks, I tried and the information is there. Two problems though : I need my data in downloadable format (e.g. csv file or web API), and also the result is limited to 400 but I require the entire TSX stocks listing. Thanks! $\endgroup$– BrunoMar 15, 2016 at 20:22
Wikipedia has a simple table. https://en.wikipedia.org/wiki/S%26P/TSX_Composite_Index
-
$\begingroup$ The information is not up to date (as of December 18, 2015) and this is far from all the listed companies on the Toronto Stock Exchange (this is only the TSX Composite index constituents) :\ Thanks $\endgroup$– BrunoApr 1, 2016 at 13:50
There is a database from Quandl that shows EOD prices for stocks traded in the TSX and if you go to the documentation part of the database here https://www.quandl.com/data/XTSE/documentation/documentation, you can click on the link where it says "A full list of all stocks in this database, along with their ticker symbols, can be downloaded here." This lets you ownload the list of over 4000 companies trading stocks in the TSX. I don't think it shows the sector or industry of each company though...
-
$\begingroup$ Thanks but I am looking for the sector and industries of these companies... $\endgroup$– BrunoApr 11, 2016 at 3:14
-
$\begingroup$ Hi, user37317, welcome to Quant.SE! I agree with @ibiza this doesn't really answer the question. $\endgroup$– Bob Jansen ♦Apr 11, 2016 at 7:43
-
$\begingroup$ Hi @BobJansen, you're right. Sorry! I'll try to be more careful and helpful next time. $\endgroup$ Apr 15, 2016 at 15:01