Introduction
Stocksymbol connects to the StockSymbol API that I created to provide a list of stock symbols from all major stock exchanges across various regions and markets.
Quick Start
Install package
pip install stocksymbol
Get an API key
You can register for a free API key here.
Symbol list
from stocksymbol import StockSymbol
api_key = '<your API key here>'
ss = StockSymbol(api_key)
# get symbol list based on market
symbol_list_us = ss.get_symbol_list(market="US") # "us" or "america" will also work
# get symbol list based on index
symbol_list_spx = ss.get_symbol_list(index="SPX")
# show a list of available market
market_list = ss.market_list
# show a list of available index
index_list = ss.index_list
Further reads
Check out this blog post (free link here) for a detailed tutorial with output examples and the motivation behind stocksymbol.
Metadata
Release files for stocksymbol 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| stocksymbol-0.0.5.tar.gz | 3.2 kB | Without provenance | Details for stocksymbol-0.0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| stocksymbol-0.0.5-py3-none-any.whl | Python 3 | none | any | Details for stocksymbol-0.0.5-py3-none-any.whl |
Total release size: 6.9 kB
Release files / stocksymbol-0.0.5.tar.gz
| Download URL | stocksymbol-0.0.5.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6f368faee1d237513dc75ae54dc45eccecddffb6a6748328b6776e6bffc3dad5
|
|
BLAKE2b-256 checksum How to use checksums |
4631e44af6c1ca000001c5fbc920b1e95c898872910065b3b3a48fc503005db8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.6
|
Release files / stocksymbol-0.0.5-py3-none-any.whl
| Download URL | stocksymbol-0.0.5-py3-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8156426134c9e81a3461fb5a1ec0a82ff034539b353392822c8baadb8c419f98
|
|
BLAKE2b-256 checksum How to use checksums |
bd2aeaceff95022a22161c04f6b0d090e5ce46840a03032bf4f62f913840d130
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.6
|
Security for stocksymbol 0.0.5
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.