Skip to main content

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
PreferredpPR-$
Preferred Class "A"*pAPRA-A $A
Preferred Class "B"*pBPRB-B$B
Class "A"*.AA.A .A
Class "B"*.BB.B  .B
Preferred when distributedp.WDPRWD-$.D
When distributed.WDWD$.Z
Warrants.WSWS+.W
Warrants Class "A"*.WS.AWSA+A.W or .A**
Warrants Class "B"*.WS.BWSB+B 
Called.CLCL* 
Class "A" Called*.A.CLACL.A*.A
Preferred calledp.CLPRCL-*$
Preferred "A" called*pA.CLPRACL-A*$A
Preferred "A" when issued*pAwPRAWI-A# .V or .Z
Emerging Company Marketplace.ECEC!.E
Partial Paid.PPPP@ 
Convertible.CVCV% 
Convertible called.CV.CLCVCL%* 
Class Convertible.A.CVACV.A% 
Preferred (class A) ConvertiblepA.CVPRACV-A% 
Preferred (class A) when DistributedpA.WDPRAWD-A$ 
RightsrRT^.R
Units.UU=.U
When issuedwWI#.V or .Z
Rights when issuedrwRTWI^#.V or .Z
Preferred when issuedpwPRWI-#.V or .Z
Class "A" when issued*.AwAWI.A#.V or .Z
Warrrant when issued.WSwWSWI+#.V or .Z
TEST symbol.TESTTEST~

Project details


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

symbol_parser-1.0.0-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

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

Hashes for symbol_parser-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4330687f5201fe162aaa1c0a67f0dca105b16352ac95f51a74b580a82309ccb3
MD5 5b54719ff5f3411f52f7fbb515ceda13
BLAKE2b-256 39829e99e95b3cbe132a2eb9d3f45fab456b414879de6e473342986e5bc612fc

See more details on using hashes here.

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