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:
Stockdexprovides data from Yahoo Finance and other sources like Digrin, Finviz, Macrotrends and JustETF (for EU ETFs). -
Historical data:
Stockdexprovides a wide time range of data, e.g. Digrin and Macrotrends sources provide historical data in a span of years. -
Numerous data categories:
Stockdexprovides financials criteria including financial statements, earnings, dividends, stock splits, list of key executives, major shareholders and more. -
plotting capabilities (new feature):
Stockdexprovides 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! ❤️
Metadata
Release files for stockdex 1.2.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| stockdex-1.2.7.tar.gz | 7.4 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| stockdex-1.2.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.9 MB
Release files / stockdex-1.2.7.tar.gz
| Download URL | stockdex-1.2.7.tar.gz |
|---|---|
| Size | 7.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ad38607c7f11c409700bf530d796468c8e65ea0661f984cb9dd536f10f165699
|
|
BLAKE2b-256 checksum How to use checksums |
88bd47dbe46e00e48cb59b86f3a8cab49bc659a8c4e31637f90a60410f0cf552
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Release files / stockdex-1.2.7-py3-none-any.whl
| Download URL | stockdex-1.2.7-py3-none-any.whl |
|---|---|
| Size | 7.5 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
372540aa5d23ac4aac114089b2444db85807e86067bad5f5ec287585ce017cb8
|
|
BLAKE2b-256 checksum How to use checksums |
712e45709b5b5ceb02a1052283455753883c4762f45f5778cdca8253220aa34b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|