Utility for parsing ticker symbols and converting symbol syntax to different conventions.
Project description
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 | ~ |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file symbol_parser-1.0.0-py3-none-any.whl.
File metadata
- Download URL: symbol_parser-1.0.0-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.1 CPython/3.10.8 Linux/5.19.0-43-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4330687f5201fe162aaa1c0a67f0dca105b16352ac95f51a74b580a82309ccb3
|
|
| MD5 |
5b54719ff5f3411f52f7fbb515ceda13
|
|
| BLAKE2b-256 |
39829e99e95b3cbe132a2eb9d3f45fab456b414879de6e473342986e5bc612fc
|