Ticker symbol parsing and convention conversions.
Install
pip install symbol_parser
All functionality is accessed through the Symbol class.
from symbol_parser import Symbol
see symbol.py for usage.
Data
Data used in this module is extracted from https://www.nasdaqtrader.com/Trader.aspx?id=CQSSymbolConvention
| Security Categorization |
CQS Suffix | CMS Suffix | NASDAQ Integrated Platform Suffix | NASDAQ ACT/CTCI Suffixes |
|---|---|---|---|---|
| Preferred | p | PR | - | $ |
| Preferred Class "A"* | pA | PRA | -A | $A |
| Preferred Class "B"* | pB | PRB | -B | $B |
| Class "A"* | .A | A | .A | .A |
| Class "B"* | .B | B | .B | .B |
| Preferred when distributed | p.WD | PRWD | -$ | .D |
| When distributed | .WD | WD | $ | .Z |
| Warrants | .WS | WS | + | .W |
| Warrants Class "A"* | .WS.A | WSA | +A | .W or .A** |
| Warrants Class "B"* | .WS.B | WSB | +B | |
| Called | .CL | CL | * | |
| Class "A" Called* | .A.CL | ACL | .A* | .A |
| Preferred called | p.CL | PRCL | -* | $ |
| Preferred "A" called* | pA.CL | PRACL | -A* | $A |
| Preferred "A" when issued* | pAw | PRAWI | -A# | .V or .Z |
| Emerging Company Marketplace | .EC | EC | ! | .E |
| Partial Paid | .PP | PP | @ | |
| Convertible | .CV | CV | % | |
| Convertible called | .CV.CL | CVCL | %* | |
| Class Convertible | .A.CV | ACV | .A% | |
| Preferred (class A) Convertible | pA.CV | PRACV | -A% | |
| Preferred (class A) when Distributed | pA.WD | PRAWD | -A$ | |
| Rights | r | RT | ^ | .R |
| Units | .U | U | = | .U |
| When issued | w | WI | # | .V or .Z |
| Rights when issued | rw | RTWI | ^# | .V or .Z |
| Preferred when issued | pw | PRWI | -# | .V or .Z |
| Class "A" when issued* | .Aw | AWI | .A# | .V or .Z |
| Warrrant when issued | .WSw | WSWI | +# | .V or .Z |
| TEST symbol | .TEST | TEST | ~ |
Metadata
Release files for symbol-parser 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| symbol_parser-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for symbol_parser-1.0.0-py3-none-any.whl |
Release files / symbol_parser-1.0.0-py3-none-any.whl
| Download URL | symbol_parser-1.0.0-py3-none-any.whl |
|---|---|
| Size | 7.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4330687f5201fe162aaa1c0a67f0dca105b16352ac95f51a74b580a82309ccb3
|
|
BLAKE2b-256 checksum How to use checksums |
39829e99e95b3cbe132a2eb9d3f45fab456b414879de6e473342986e5bc612fc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.3.1 CPython/3.10.8 Linux/5.19.0-43-generic
|
Security for symbol-parser 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.