The lib provides ticker symbols for yahoo and google finance.
Project description
pytickersymbols
pytickersymbols provides access to google and yahoo ticker symbols for all stocks of the following indices:
- AEX
- BEL 20
- CAC 40
- DAX
- DOW JONES
- FTSE 100
- IBEX 35
- MDAX
- NASDAQ 100
- OMX Helsinki 15
- OMX Helsinki 25
- OMX Stockholm 30
- S&P 100
- S&P 500
- SDAX
- SMI
- TECDAX
- MOEX
install
pip install pytickersymbols
quick start
Get all countries, indices and industries as follows:
from pytickersymbols import PyTickerSymbols
stock_data = PyTickerSymbols()
countries = stock_data.get_all_countries()
indices = stock_data.get_all_indices()
industries = stock_data.get_all_industries()
You can select all stocks of an index as follows:
from pytickersymbols import PyTickerSymbols
stock_data = PyTickerSymbols()
german_stocks = stock_data.get_stocks_by_index('DAX')
uk_stocks = stock_data.get_stocks_by_index('FTSE 100')
print(list(uk_stocks))
issue tracker
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
pytickersymbols-1.7.19.tar.gz
(4.8 kB
view hashes)
Built Distribution
Close
Hashes for pytickersymbols-1.7.19-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26d12e81f4cbf8921495bf4be0e66dcedbddcba970d4eef7bc9b6afa47bc2bd3 |
|
MD5 | bab860ab33d5923511a1e518632872ef |
|
BLAKE2b-256 | 0ad6cf0c3b34b9f9d935a876c495c3eda9098dec0640bb504bf4c9f04a0a2b8a |