Skip to main content

A package to get stock data from Yahoo Finance

Project description

PyPI version Code style: black Code style: isort flake8 ruff

For full documentation, visit here

Stock Data Extractor (Stockdex)

Stockdex is a Python package that provides a simple interface to get financial data from various sources in pandas DataFrames and Plotly figures.


Advantages of Stockdex over similar packages

  • Various data sources: Stockdex provides data from Yahoo Finance and other sources like Digrin, Finviz, Macrotrends and JustETF (for EU ETFs).

  • Historical data: Stockdex provides a wide time range of data, e.g. Digrin and Macrotrends sources provide historical data in a span of years.

  • Numerous data categories: Stockdex provides financials criteria including financial statements, earnings, dividends, stock splits, list of key executives, major shareholders and more.

  • plotting capabilities (new feature): Stockdex provides plotting financial data using bar, line, and sankey plots. Multiple plots can be combined in dash app.


Installation

Install the package using pip:

pip install stockdex -U

do a simple test to verify the package is installed correctly:

from stockdex import Ticker

ticker = Ticker(ticker="NVDA")
result = ticker.yahoo_api_income_statement(frequency='quarterly')

License

This project is licensed under the MIT License.

Contributing

Stockdex is an open-source project, and contributions of any kind are welcome and appreciated!
Whether you want to report a bug, suggest a new feature, improve documentation, or submit code — every contribution helps.

How to contribute

  • Issues
    Found a bug or have an idea for an improvement? Please open an issue on GitHub and describe it clearly.

  • Pull Requests (PRs)
    If you’d like to fix something directly, fork the repository and open a PR.
    Please include a short description of the change and reference any related issues.

Guidelines

There are no Guidelines as of now :)


❤️ Thank you in advance for your contribution! ❤️

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

stockdex-1.2.4.tar.gz (7.4 MB view details)

Uploaded Source

Built Distribution

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

stockdex-1.2.4-py3-none-any.whl (7.5 MB view details)

Uploaded Python 3

File details

Details for the file stockdex-1.2.4.tar.gz.

File metadata

  • Download URL: stockdex-1.2.4.tar.gz
  • Upload date:
  • Size: 7.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for stockdex-1.2.4.tar.gz
Algorithm Hash digest
SHA256 f33881bf1134b3b7adb35ed232edc941b86565489d7819e9d88c4d33f9ba36fe
MD5 7f79f2a66c1222f4e020ffaaee22317a
BLAKE2b-256 e8dc4024a79c1218ee7a7666ab4cc88c023dfba20c7e57ed4db1852f9288e1bf

See more details on using hashes here.

File details

Details for the file stockdex-1.2.4-py3-none-any.whl.

File metadata

  • Download URL: stockdex-1.2.4-py3-none-any.whl
  • Upload date:
  • Size: 7.5 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for stockdex-1.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 f500d80ee7b52a74f2c2f553870b2db0acbdf569dfa10c3829e2c2ba47914d7f
MD5 5e70d121bae7cf90b0f847616fa63019
BLAKE2b-256 da2bcf8ffd8a31547fadd0d50dc3e151396d60022a89d3105c4661e7b9df3a9a

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