Msfinance
msfinance offers Pythonic way to download market data from morningstar.com
Install / Use
npx skills add jimmysitu/msfinanceInstalls into whichever agent you are using.
README
msfinance
msfinance offers Pythonic way to download stocks financial data from morningstar.com/stocks
Installation
pip install msfinance
Quick Start
#!/usr/bin/python3 -u
import msfinance as msf
stock = msf.Stock(
database='msf_database.db3',
)
print(stock.get_income_statement('aapl', 'xnas'))
print(stock.get_balance_sheet_statement('aapl', 'xnas'))
print(stock.get_cash_flow_statement('aapl', 'xnas'))
print(stock.get_growth('aapl', 'xnas'))
print(stock.get_operating_and_efficiency('aapl', 'xnas'))
print(stock.get_financial_health('aapl', 'xnas'))
print(stock.get_cash_flow('aapl', 'xnas'))
- More examples are placed in examples directory. Add msfinance path to environment variable: PYTHONPATH, and run examples directly
US Tickers and Exchanges
- Get all tickers symbol of each exchange here
HK Tickers and Exchanges
- Get all tickers numbers of Heng Seng Index here
TODO
- [x] Add 'Last Updated' to database record
- [x] Add support for pip package
- [x] Add tickers from HK exchanges
- [x] Add docs in docs directory for readthedoc.io
- [x] Add multiprocessing for speed up
- [x] More robust error handling
- [ ] Add more statistics valuations
Related Skills
valuecell
11.0kValueCell is a community-driven, multi-agent platform for financial applications.
QuantDinger
10.4kAI quantitative trading platform for crypto, stocks, and forex with backtesting, live trading, market data, and multi-agent research.vibe-trading ,trading-agents,ai-trader,ai-trading
beanquery-mcp
50Beancount MCP Server is an experimental implementation that utilizes the Model Context Protocol (MCP) to enable AI assistants to query and analyze Beancount ledger files using Beancount Query Language (BQL) and the beanquery tool.
finance-skills
3.1kA collection of skills for AI financial analysis.
