Skip to main content

The lib provides ticker symbols for yahoo and google finance.

Project description

Release Build PyPI - Downloads Coverage Status Codacy Badge

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

https://github.com/portfolioplus/pytickersymbols/issues

Project details


Release history Release notifications | RSS feed

This version

1.7.3

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.3.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pytickersymbols-1.7.3-py3-none-any.whl (75.2 kB view details)

Uploaded Python 3

File details

Details for the file pytickersymbols-1.7.3.tar.gz.

File metadata

  • Download URL: pytickersymbols-1.7.3.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.7.10

File hashes

Hashes for pytickersymbols-1.7.3.tar.gz
Algorithm Hash digest
SHA256 4dc89a9b28307603289e2c7f60053cbb5bc537d6d64516008b655c6772eb2832
MD5 57f8d82d93a7be6b0d6a5070b924e93f
BLAKE2b-256 11406b88bd12e44e8dadcf260708009011c7df7d74394bcd69175a432cd5ae64

See more details on using hashes here.

File details

Details for the file pytickersymbols-1.7.3-py3-none-any.whl.

File metadata

  • Download URL: pytickersymbols-1.7.3-py3-none-any.whl
  • Upload date:
  • Size: 75.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.7.10

File hashes

Hashes for pytickersymbols-1.7.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8c4d8538a67bcc029ae29a9c63fc2c8908e1d924cc4b204e22d29ec00d14a6c4
MD5 b11cd94c62dffb211578e59caff25ba4
BLAKE2b-256 e92cda06c5b2bbd3c6dcd9ed780de96c14f1fbb0fddd293f496899c3b82ebcf0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page