Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,16 @@ List of companies in the NASDAQ exchanges.

## Data

Data and documentation are available on [NASDAQ's official webpage](http://www.nasdaqtrader.com/trader.aspx?id=symboldirdefs). Data is updated regularly on the FTP site.
Data and documentation are available on [NASDAQ's official webpage](https://www.nasdaqtrader.com/trader.aspx?id=symboldirdefs). Data is updated regularly.

The file used in this repository:
* [NASDAQ Listed Securities](ftp://ftp.nasdaqtrader.com/symboldirectory/nasdaqlisted.txt)
* [NASDAQ Listed Securities](https://www.nasdaqtrader.com/dynamic/symdir/nasdaqlisted.txt)

Notes:

* Company Name is a parsed field using the Security Name field.
* Test Listings are excluded in the final dataset
* Company Name is a parsed field using the Security Name field (text before the first ' - ').
* Test listings (Test Issue = Y) are **included** in the dataset and can be identified by the `Test Issue` field.
* A "File Creation Time" footer row from the NASDAQ source file appears at the end of both CSVs and should be ignored when processing the data.

## Preparation

Expand Down
94 changes: 58 additions & 36 deletions datapackage.json
Original file line number Diff line number Diff line change
@@ -1,83 +1,105 @@
{
"license": "",
"name": "nasdaq-listings",
"title": "Nasdaq Listings",
"description": "List of companies currently listed on the NASDAQ stock exchange, including ticker symbol, security name, market category, financial status, ETF flag, and related metadata. Data is sourced from NASDAQ's official symbol directory and updated monthly.",
"licenses": [
{
"name": "ODC-PDDL-1.0",
"path": "https://opendatacommons.org/licenses/pddl/",
"title": "Open Data Commons Public Domain Dedication and License"
}
],
"sources": [
{
"name": "NASDAQ Symbol Directory",
"path": "https://www.nasdaqtrader.com/dynamic/symdir/nasdaqlisted.txt",
"title": "NASDAQ Listed Securities"
}
],
"resources": [
{
"format": "csv",
"mediatype": "text/csv",
"name": "nasdaq-listed",
"path": "data/nasdaq-listed.csv",
"description": "A simplified listing of NASDAQ securities containing only the ticker symbol and full security name.",
"schema": {
"fields": [
{
"description": "",
"description": "Ticker symbol of the security.",
"name": "Symbol",
"type": "string"
},
{
"description": "",
"description": "Full name of the security, including issuer and security type (e.g. 'Common Stock', 'Warrant').",
"name": "Security Name",
"type": "string"
}
]
}
},
{
"format": "csv",
"mediatype": "text/csv",
"name": "nasdaq-listed-symbols",
"path": "data/nasdaq-listed-symbols.csv",
"description": "Full listing of NASDAQ securities with all available metadata. Company Name is derived by parsing the Security Name field. Includes NASDAQ test listings (Test Issue = Y). A 'File Creation Time' footer row from the source file appears at the end and should be ignored.",
"schema": {
"fields": [
{
"description": "Ticker symbol of the security.",
"name": "Symbol",
"type": "string"
},
{
"description": "Company name, parsed from the first segment of the Security Name field (before ' - ').",
"name": "Company Name",
"type": "string"
},
{
"description": "",
"description": "Full name of the security, including issuer and security type (e.g. 'Common Stock', 'Warrant').",
"name": "Security Name",
"type": "string"
},
{
"description": "",
"description": "NASDAQ market tier: Q = Global Select Market, G = Global Market, S = Capital Market.",
"name": "Market Category",
"type": "string"
},
{
"description": "",
"description": "Whether the security is a NASDAQ test listing (Y = test issue, N = normal listing).",
"name": "Test Issue",
"type": "string"
"type": "boolean",
"trueValues": ["Y"],
"falseValues": ["N"]
},
{
"description": "",
"description": "Financial status code indicating delinquency or deficiency. N = Normal; other codes indicate various deficiency categories as defined by NASDAQ.",
"name": "Financial Status",
"type": "string"
},
{
"description": "",
"description": "Standard round-lot trading size for the security (number of shares).",
"name": "Round Lot Size",
"type": "number"
"type": "integer"
},
{
"description": "",
"description": "Whether the security is an Exchange-Traded Fund (Y = ETF, N = not an ETF).",
"name": "ETF",
"type": "string"
"type": "boolean",
"trueValues": ["Y"],
"falseValues": ["N"]
},
{
"description": "",
"description": "Whether the security is a NextShares exchange-traded managed fund (Y = NextShares, N = not a NextShares).",
"name": "NextShares",
"type": "string"
}
]
}
},
{
"format": "csv",
"mediatype": "text/csv",
"name": "nasdaq-listed-symbols",
"path": "data/nasdaq-listed-symbols.csv",
"schema": {
"fields": [
{
"description": "",
"name": "Symbol",
"type": "string"
},
{
"description": "",
"name": "Company Name",
"type": "string"
"type": "boolean",
"trueValues": ["Y"],
"falseValues": ["N"]
}
]
}
}
],
"title": "Nasdaq Listings",
"collection": "stock-market-data"
}
}