Stockdex: Python Package to Extract and plot Financial Data
Posted by nginx26@reddit | Python | View on Reddit | 5 comments
Showcasing a new major version (1.0.0) of Stockdex, a Python package that provides a simple interface to access financial data from various sources and plotting financiial data using Plotly and Dash.
What my project does
While there are some packages that provide financial data (like yfinance), they have few shortcomings which Stockdex aims to address as follows:
-
Various data sources: Stockdex provides data from Yahoo Finance API and website, Digrin, Macrotrends, and JustETF (for EU ETFs).
-
Numerous data categories: Stockdex provides various data including financial statements, earnings, dividends, stock splits, list of key executives, major shareholders, and many more.
-
Historical data: Stockdex provides a wide time range of data, e.g. Digrin and Macrotrends sources, which provide data ranging from 4 years to historical data.
-
plotting capabilities (new feature): Stockdex provides plotting financial data using bar, line, and sanky plots. Multiple plots can be combined in dash app.
check out this usage guide for detailed info about usage of the package and its functions including plotting and dash app examples.
silo_sigh_bin@reddit
Hey I'm struggling to test this out. I cannot import Ticker from stockdex. I'm given the option to import TickerFactory, but that doesn't seem to work like Ticker().
Thoughts?
jarar14@reddit
Great work, been using it for a few days!
Small note but excel sheet functionality, as in being able to export data parameters, on top of the charts would be excellent. Any plans for new features?
dingdongninja@reddit
Thanks for sharing !
AH1376@reddit
Very cool project. Love the Dash app.
One small observation: I tried the sankey charts, they render a bit weird sometimes (flow arrows intersect with each other) not sure if it is related to my local setup or not.
nginx26@reddit (OP)
You can grab and drop nodes to make the chart as you would like it.