Stockdex
Python Package to Extract and plot Financial Data
Install / Use
/learn @ahnazary/StockdexREADME
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.
<br />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. -
<span style="font-size: 17px; font-weight: bold; animation: rainbow 1.8s infinite; background: linear-gradient(90deg, orange, green, blue, indigo, violet); background-size: 1300%; -webkit-background-clip: text; -webkit-text-fill-color: transparent;">plotting capabilities (new feature)</span>:
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 :)
<p align="center"> ❤️ <b>Thank you in advance for your contribution!</b> ❤️ </p>
Related Skills
claude-opus-4-5-migration
104.6kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
model-usage
345.4kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
TrendRadar
50.6k⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI 智能筛选新闻 + AI 翻译 + AI 分析简报直推手机,也支持接入 MCP 架构,赋能 AI 自然语言对话分析、情感洞察与趋势预测等。支持 Docker ,数据本地/云端自持。集成微信/飞书/钉钉/Telegram/邮件/ntfy/bark/slack 等渠道智能推送。
mcp-for-beginners
15.8kThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable, and secure AI workflows from session setup to service orchestration.
