Skip to main content

Generate a CSV of all current tickers

Project description

csvtickerlist

A simple package that allows users the ability to generate a CSV file that contains a full list of all active ticker symbols on the marketplace. This package uses a headless, Selenium Chrome browser to fetch this CSV file.

The CSV file contains ticker symbols, along with some basic information (i.e. Share price, count, industry, etc.) NASDAQ hosts this information in its entirety for free and this module only requires making one page request to retrieve the CSV file.

Example

from csvtickerlist import GetCSV



def GetDataFolder():

	return filedialog.askdirectory(title = 'Select Folder')



def main():

	folder = GetDataFolder()

	GetCSV.GetCSVFile(folder, 10)



	#arg1 (folder) represents the output folder

	#arg2 (10) represents the seconds to wait before closing the web driver.

	#10 seconds is recommended, but increase this when facing connectivity issues.

To-Do:

  • Add functionality for a filtered output (i.e. valuation range, industry selections, etc.)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

csvtickerlist-0.0.2.tar.gz (2.8 kB view hashes)

Uploaded Source

Built Distribution

csvtickerlist-0.0.2-py3-none-any.whl (2.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page