Get Stock Symbols

This function gets the list of symbols for stocks from indices and/or sectors.
1.8K Downloads
Updated 7 Oct 2009

View License

This program gets the stock symbols of a user-defined index (NASDAQ, NYSE, AMEX, OTCBB, LSE) and/or sector. The data is retrieved from http://www.eoddata.com/ and from Yahoo Finance.

For example:
- get_stock_symbols('NASDAQ') : gets all stock symbols from NASDAQ
- get_stock_symbols('biotechnology') : gets all biotechnology stock symbols from all above indices.
-get_stock_symbols('NASDAQ',biotechnology') : gets all symbols for all biotechnology companies listed in NASDAQ.

Note:
- get_stock_symbols('515') : equivalent to the get_stock_symbols('biotechnology'), since biotechnology has the sector code 515. Run get_stock_symbols('list') for a list of sector codes and descriptions.

Cite As

Alejandro Arrizabalaga (2024). Get Stock Symbols (https://www.mathworks.com/matlabcentral/fileexchange/25461-get-stock-symbols), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Financial Data in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.4.0.0

-version 1.1: added support for sector search.

1.0.0.0