provides a list of stock symbols from all major stock exchanges across various regions and markets
Project description
Introduction
Stocksymbol connects to the StockSymbol API that I created and provides 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 for a detailed tutorial with output examples and the motivation behind stocksymbol.
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 Distribution
stocksymbol-0.0.1.tar.gz
(3.1 kB
view hashes)
Built Distribution
Close
Hashes for stocksymbol-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 237386a18373d8f5d8f5c9b94a083ebe7ecb821d7493ae127ccd448b8752a1c5 |
|
MD5 | fe8308d2957f5ea2b9e775c593aea8ed |
|
BLAKE2b-256 | ad52d82a124a3aef0c615ccd0aced63543962c5bb6b916cfaea0c3bd51b9832d |