寻找用于 AI 股票分析的开源 Python 包
1 分•作者: Siddartha_19•5 天前
大家好!
我正在为我的项目寻找一些优秀的 Python 股票+AI 包。我尝试了多个开源 Python 包,目前发现 investormate 比较可靠。它并非要取代 yFinance 等底层数据提供商,而是位于其之上的一层,专注于将市场和财务数据转化为可用于分析的对象。
我需要的功能包括:
* 标准化的损益表、资产负债表和现金流量数据
* 60 多个技术指标(RSI、MACD、布林带等)
* 自动计算的财务比率(市盈率、净资产收益率、利润率、杠杆率)
* 股票筛选(价值、增长、股息、自定义筛选器)
* 投资组合指标(回报率、波动率、夏普比率)
* 情绪分析
* 回测
* AI 层(OpenAI / Claude / Gemini)
目前尝试过的包有 defectbeta-api、yfinance 和 investormate。
到目前为止,investormate 看起来很有前景,我欢迎任何更好的建议。
查看原文
Hey folks!<p>I am looking for some good stock+AI packages in Python for my project. I have tried multiple open-source Python packages and so far found investormate as reliable. It’s not meant to replace low-level data providers like yFinance — it sits a layer above that and focuses on turning market + financial data into analysis-ready objects.<p>Things I am looking for:<p>Normalised income statement, balance sheet, and cash flow data<p>60+ technical indicators (RSI, MACD, Bollinger Bands, etc.)<p>Auto-computed financial ratios (P/E, ROE, margins, leverage)<p>Stock screening (value, growth, dividend, custom filters)<p>Portfolio metrics (returns, volatility, Sharpe ratio)<p>Sentiment Analysis<p>Back Testing<p>AI layer (OpenAI / Claude / Gemini)<p>Packages so far tried - defectbeta-api, yfinance, investormate.<p>So far investormate felt promising, and I am open to any better suggestions.