Skip to content
프로젝트

소개

Python Package to Extract and plot Financial Data

비즈니스 및 금융

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
+2
in 15 days
+13
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

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

Stockdex logo with three ascending candlesticks

Full documentation: ahnazary.github.io/stockdex

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: Stockdex plots financial data as bar, line and Sankey charts, and multiple plots can be combined in a Dash app.


Installation

Install the package using pip:

pip install stockdex -U

A quick check that the package works:

from stockdex import Ticker

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

Use with Claude

Stockdex ships a local, read-only MCP server with 24 tools so Claude can fetch prices, financial statements, margins, dividends, insider trades, earnings reactions, analyst forecasts, European ETF profiles and more for you.

  • Claude Desktop: download stockdex.mcpb from the latest release and double-click it.

  • Claude Code: install the plugin, which requires uv:

    /plugin marketplace add ahnazary/stockdex
    /plugin install stockdex@stockdex
    
  • Other MCP clients: run uvx --from "stockdex[mcp]" stockdex-mcp.

See Use with Claude for arguments, limits and output format.

Disclaimer

Stockdex is an independent, unofficial open-source project. It is not affiliated with, endorsed by, or sponsored by Yahoo, Nasdaq, Digrin, Macrotrends, JustETF, Finviz or any other data provider it supports. All product names, trademarks and registered trademarks (including "Yahoo" and "Yahoo Finance") belong to their respective owners and are used here only to identify the data sources.

Stockdex does not host, store or redistribute any data. All data belongs to its respective providers, and you are responsible for complying with each provider's terms of use (e.g. Yahoo's Terms of Service). Stockdex is intended for personal, research and educational use only.

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 via Pull Requests or Issues — every contribution helps.

Guidelines

There are no Guidelines as of now :)


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

관련 프로젝트 살펴보기

불러오는 중…