This function downloads the public CSV file of all ticker symbols traded on the BATS exchange (list changed at least daily). This can be reconciled against a reference date/time, in which case change the timezone (mine is central time, as coded). Most of the time probably just don't supply any inputs or strip out the code relating to date/time.
The tickers are then scraped from the CSV file and reformatted for Yahoo Finance, but this can easily be recoded if some other data supplier is being used. This is just about the most comprehensive list of tickers available in a public format.
Matthaeus (2022). Obtain All Tickers Traded on BATS Exchange (https://www.mathworks.com/matlabcentral/fileexchange/52279-obtain-all-tickers-traded-on-bats-exchange), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired by: Timezone Convert by Erwin Mayer with vector support
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!