Get Stock Symbols
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
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.