Institutional Flow Tracker
Overview
This skill tracks institutional investor activity through 13F SEC filings to identify "smart money" flows into and out of stocks. By analyzing quarterly changes in institutional ownership, you can discover stocks that sophisticated investors are accumulating before major price moves, or identify potential risks when institutions are reducing positions.
Key Insight: Institutional investors (hedge funds, pension funds, mutual funds) manage trillions of dollars and conduct extensive research. Their collective buying/selling patterns often precede significant price movements by 1-3 quarters.
When to Use This Skill
Use this skill when:
- - Validating investment ideas (checking if smart money agrees with your thesis)
- Discovering new opportunities (finding stocks institutions are accumulating)
- Risk assessment (identifying stocks institutions are exiting)
- Portfolio monitoring (tracking institutional support for your holdings)
- Following specific investors (tracking Warren Buffett, Cathie Wood, etc.)
- Sector rotation analysis (identifying where institutions are rotating capital)
Do NOT use when:
- - Seeking real-time intraday signals (13F data has 45-day reporting lag)
- Analyzing micro-cap stocks (<$100M market cap with limited institutional interest)
- Looking for short-term trading signals (<3 months horizon)
Data Sources & Requirements
Required: FMP API Key
This skill uses Financial Modeling Prep (FMP) API to access 13F filing data:
Setup:
CODEBLOCK0
API Tier Requirements:
- - Free Tier: 250 requests/day (sufficient for analyzing 20-30 stocks quarterly)
- Paid Tiers: Higher limits for extensive screening
13F Filing Schedule:
- - Filed quarterly within 45 days after quarter end
- Q1 (Jan-Mar): Filed by mid-May
- Q2 (Apr-Jun): Filed by mid-August
- Q3 (Jul-Sep): Filed by mid-November
- Q4 (Oct-Dec): Filed by mid-February
Analysis Workflow
Step 1: Identify Stocks with Significant Institutional Changes
Execute the main screening script to find stocks with notable institutional activity:
Quick scan (top 50 stocks by institutional change):
CODEBLOCK1
Sector-focused scan:
CODEBLOCK2
Custom screening:
CODEBLOCK3
Output includes:
- - Stock ticker and company name
- Current institutional ownership % (of shares outstanding)
- Quarter-over-quarter change in shares held
- Number of institutions holding
- Change in number of institutions (new buyers vs sellers)
- Top institutional holders
- Aggregate dollar value change
Step 2: Deep Dive on Specific Stocks
For detailed analysis of a specific stock's institutional ownership:
CODEBLOCK4
This generates:
- - Historical institutional ownership trend (8 quarters)
- List of all institutional holders with position changes
- Concentration analysis (top 10 holders' % of total institutional ownership)
- New positions vs increased vs decreased vs closed positions
- Quarterly flow chart (net shares added/removed)
- Comparison to sector average institutional ownership
Key metrics to evaluate:
- - Ownership %: Higher institutional ownership (>70%) = more stability but limited upside
- Ownership Trend: Rising ownership = bullish, falling = bearish
- Concentration: High concentration (top 10 > 50%) = risk if they sell
- Quality of Holders: Presence of quality long-term investors (Berkshire, Fidelity) vs momentum funds
Step 3: Track Specific Institutional Investors
Follow the portfolio moves of specific hedge funds or investment firms:
CODEBLOCK5
CIK (Central Index Key) lookup:
- - Search at: https://www.sec.gov/cgi-bin/browse-edgar
- Or use FMP API institutional search
Analysis output:
- - Current portfolio holdings (top 50 positions)
- New positions added this quarter
- Positions completely sold
- Largest increases/decreases in existing positions
- Portfolio concentration and sector allocation changes
- Historical performance of their top picks
Step 4: Interpretation and Action
Read the references for interpretation guidance:
- -
references/13f_filings_guide.md - Understanding 13F data and limitations - INLINECODE1 - Different investor types and their strategies
- INLINECODE2 - How to interpret institutional flow signals
Signal Strength Framework:
Strong Bullish (Consider buying):
- - Institutional ownership increasing >15% QoQ
- Number of institutions increasing >10%
- Quality long-term investors adding positions
- Low current ownership (<40%) with room to grow
- Accumulation happening across multiple quarters
Moderate Bullish:
- - Institutional ownership increasing 5-15% QoQ
- Mix of new buyers and sellers, net positive
- Current ownership 40-70%
Neutral:
- - Minimal change in ownership (<5%)
- Similar number of buyers and sellers
- Stable institutional base
Moderate Bearish:
- - Institutional ownership decreasing 5-15% QoQ
- More sellers than buyers
- High ownership (>80%) limiting new buyers
Strong Bearish (Consider selling/avoiding):
- - Institutional ownership decreasing >15% QoQ
- Number of institutions decreasing >10%
- Quality investors exiting positions
- Distribution happening across multiple quarters
- Concentration risk (top holder selling large position)
Step 5: Portfolio Application
For new positions:
- 1. Run institutional analysis on your stock idea
- Look for confirmation (institutions also accumulating)
- If strong bearish signals, reconsider or reduce position size
- If strong bullish signals, gain confidence in thesis
For existing holdings:
- 1. Quarterly review after 13F filing deadlines
- Monitor for distribution (early warning system)
- If institutions are exiting, re-evaluate your thesis
- Consider trimming if widespread institutional selling
Screening workflow integration:
- 1. Use Value Dividend Screener or other screeners to find candidates
- Run Institutional Flow Tracker on top candidates
- Prioritize stocks with institutional accumulation
- Avoid stocks with institutional distribution
Output Format
All analysis generates structured markdown reports saved to repository root:
Filename convention: INLINECODE3
Report sections:
- 1. Executive Summary (key findings)
- Institutional Ownership Trend (current vs historical)
- Top Holders and Changes
- New Buyers vs Sellers
- Concentration Analysis
- Interpretation and Recommendations
- Data Sources and Timestamp
Limitations and Caveats
Data Lag:
- - 13F filings have 45-day reporting delay
- Positions may have changed since filing date
- Use as confirming indicator, not leading signal
Coverage:
- - Only institutions managing >$100M are required to file
- Excludes individual investors and smaller funds
- International institutions may not file 13F
Reporting Rules:
- - Only long equity positions reported (no shorts, options, bonds)
- Holdings as of quarter-end snapshot
- Some positions may be confidential (delayed reporting)
Interpretation:
- - Correlation ≠ causation (stocks can fall despite institutional buying)
- Consider overall market environment and fundamentals
- Combine with technical analysis and other skills
Advanced Use Cases
Insider + Institutional Combo:
- - Look for stocks where both insiders AND institutions are buying
- Particularly powerful signal when aligned
Sector Rotation Detection:
- - Track aggregate institutional flows by sector
- Identify early rotation trends before they appear in price
Contrarian Plays:
- - Find quality stocks institutions are selling (potential value)
- Requires strong fundamental conviction
Smart Money Validation:
- - Before major position, check if smart money agrees
- Gain confidence or find overlooked risks
References
The references/ folder contains detailed guides:
- - 13ffilingsguide.md - Comprehensive guide to 13F SEC filings, what they include, reporting requirements, and data quality considerations
- institutionalinvestortypes.md - Different types of institutional investors (hedge funds, mutual funds, pension funds, etc.), their typical strategies, and how to interpret their moves
- interpretation_framework.md - Detailed framework for interpreting institutional ownership changes, signal quality assessment, and integration with other analysis
Script Parameters
trackinstitutionalflow.py
Main screening script for finding stocks with significant institutional changes.
Required:
- -
--api-key: FMP API key (or set FMPAPIKEY environment variable)
Optional:
- -
--top N: Return top N stocks by institutional change (default: 50) - INLINECODE7 : Minimum % change in institutional ownership (default: 10)
- INLINECODE8 : Minimum market cap in dollars (default: 1B)
- INLINECODE9 : Filter by specific sector
- INLINECODE10 : Minimum number of institutional holders (default: 10)
- INLINECODE11 : Output JSON file path (default: institutionalflowresults.json)
- INLINECODE12 : Sort by 'ownershipchange', 'institutioncountchange', 'dollarvalue_change'
analyzesinglestock.py
Deep dive analysis on a specific stock's institutional ownership.
Required:
- - Ticker symbol (positional argument)
- INLINECODE13 : FMP API key (or set FMPAPIKEY environment variable)
Optional:
- -
--quarters N: Number of quarters to analyze (default: 8, i.e., 2 years) - INLINECODE15 : Output markdown report path
- INLINECODE16 : Compare institutional ownership to another stock
trackinstitutionportfolio.py
Track a specific institutional investor's portfolio changes.
Required:
- -
--cik CIK: Central Index Key of the institution - INLINECODE18 : Institution name for report
- INLINECODE19 : FMP API key (or set FMPAPIKEY environment variable)
Optional:
- -
--top N: Show top N holdings (default: 50) - INLINECODE21 : Minimum position value to include (default: 10M)
- INLINECODE22 : Output markdown report path
Integration with Other Skills
Value Dividend Screener + Institutional Flow:
CODEBLOCK6
US Stock Analysis + Institutional Flow:
CODEBLOCK7
Portfolio Manager + Institutional Flow:
CODEBLOCK8
Technical Analyst + Institutional Flow:
CODEBLOCK9
Best Practices
- 1. Quarterly Reviews: Set calendar reminders for 13F filing deadlines
- Multi-Quarter Trends: Look for sustained trends (3+ quarters), not one-time changes
- Quality Over Quantity: Berkshire adding > 100 small funds adding
- Context Matters: Rising ownership in a falling stock may be value investors catching a falling knife
- Combine Signals: Never use institutional flow in isolation
- Update Your Data: Re-run analysis each quarter as new 13Fs are filed
Support & Resources
- - FMP API Documentation: https://financialmodelingprep.com/developer/docs
- SEC 13F Filings Database: https://www.sec.gov/cgi-bin/browse-edgar?action=getcompany&type=13F
- Institutional Investor Database: https://whalewisdom.com (free tier available)
Note: This skill is designed for long-term investors (3-12 month horizon). For short-term trading, combine with technical analysis and other momentum indicators.
机构资金流向追踪器
概述
本技能通过13F SEC申报文件追踪机构投资者活动,识别聪明钱流入和流出股票的情况。通过分析机构持股的季度变化,您可以发现精明的投资者在重大价格变动前正在积累的股票,或在机构减持时识别潜在风险。
核心洞察: 机构投资者(对冲基金、养老基金、共同基金)管理着数万亿美元资金并进行广泛研究。他们的集体买入/卖出模式通常比重大价格变动提前1-3个季度。
何时使用本技能
在以下情况下使用本技能:
- - 验证投资想法(检查聪明钱是否与您的观点一致)
- 发现新机会(寻找机构正在积累的股票)
- 风险评估(识别机构正在退出的股票)
- 投资组合监控(追踪您持仓的机构支持情况)
- 追踪特定投资者(追踪沃伦·巴菲特、凯西·伍德等)
- 行业轮动分析(识别机构资金轮动方向)
请勿在以下情况下使用:
- - 寻求实时盘中信号(13F数据有45天报告延迟)
- 分析微型市值股票(市值<1亿美元,机构兴趣有限)
- 寻找短期交易信号(时间跨度<3个月)
数据来源与要求
必需:FMP API密钥
本技能使用Financial Modeling Prep (FMP) API访问13F申报数据:
设置:
bash
设置环境变量(推荐)
export FMP
APIKEY=your
keyhere
或在运行脚本时提供
python3 scripts/track
institutionalflow.py --api-key YOUR_KEY
API层级要求:
- - 免费层级: 每天250次请求(足以每季度分析20-30只股票)
- 付费层级: 更高的限制用于广泛筛选
13F申报时间表:
- - 每季度在季度结束后45天内申报
- Q1(1-3月):5月中旬前申报
- Q2(4-6月):8月中旬前申报
- Q3(7-9月):11月中旬前申报
- Q4(10-12月):2月中旬前申报
分析工作流程
步骤1:识别机构变动显著的股票
执行主筛选脚本,寻找机构活动显著的股票:
快速扫描(按机构变动排名前50的股票):
bash
python3 institutional-flow-tracker/scripts/trackinstitutionalflow.py \
--top 50 \
--min-change-percent 10
行业聚焦扫描:
bash
python3 institutional-flow-tracker/scripts/trackinstitutionalflow.py \
--sector Technology \
--min-institutions 20
自定义筛选:
bash
python3 institutional-flow-tracker/scripts/trackinstitutionalflow.py \
--min-market-cap 2000000000 \
--min-change-percent 15 \
--top 100 \
--output institutionalflowresults.json
输出包括:
- - 股票代码和公司名称
- 当前机构持股比例(占流通股百分比)
- 持股数量的季度环比变化
- 持有机构数量
- 机构数量变化(新买家vs卖家)
- 主要机构持有人
- 总美元价值变化
步骤2:深入分析特定股票
对特定股票的机构持股进行详细分析:
bash
python3 institutional-flow-tracker/scripts/analyzesinglestock.py AAPL
生成内容:
- - 历史机构持股趋势(8个季度)
- 所有机构持有人及其持仓变动列表
- 集中度分析(前10大持有人占机构总持股比例)
- 新开仓vs增仓vs减仓vs清仓
- 季度资金流向图(净增/减股份数)
- 与行业平均机构持股比例对比
需要评估的关键指标:
- - 持股比例: 较高的机构持股(>70%)= 更稳定但上涨空间有限
- 持股趋势: 持股上升=看涨,下降=看跌
- 集中度: 高度集中(前10大>50%)= 如果他们卖出则存在风险
- 持有人质量: 优质长期投资者(伯克希尔、富达)vs动量基金的存在
步骤3:追踪特定机构投资者
追踪特定对冲基金或投资公司的投资组合变动:
bash
追踪沃伦·巴菲特的伯克希尔·哈撒韦
python3 institutional-flow-tracker/scripts/track
institutionportfolio.py \
--cik 0001067983 \
--name Berkshire Hathaway
追踪凯西·伍德的ARK投资管理公司
python3 institutional-flow-tracker/scripts/track
institutionportfolio.py \
--cik 0001579982 \
--name ARK Investment Management
CIK(中央索引密钥)查询:
- - 搜索网址:https://www.sec.gov/cgi-bin/browse-edgar
- 或使用FMP API机构搜索
分析输出:
- - 当前投资组合持仓(前50大持仓)
- 本季度新增持仓
- 完全卖出的持仓
- 现有持仓的最大增/减
- 投资组合集中度和行业配置变化
- 其首选股票的历史表现
步骤4:解读与行动
阅读参考资料获取解读指导:
- - references/13ffilingsguide.md - 理解13F数据及其局限性
- references/institutionalinvestortypes.md - 不同投资者类型及其策略
- references/interpretation_framework.md - 如何解读机构资金流向信号
信号强度框架:
强烈看涨(考虑买入):
- - 机构持股季度环比增长>15%
- 机构数量增长>10%
- 优质长期投资者增持
- 当前持股比例较低(<40%),有增长空间
- 多个季度持续积累
温和看涨:
- - 机构持股季度环比增长5-15%
- 买卖双方混合,净为正
- 当前持股比例40-70%
中性:
- - 持股比例变化极小(<5%)
- 买卖双方数量相近
- 机构基础稳定
温和看跌:
- - 机构持股季度环比下降5-15%
- 卖方多于买方
- 高持股比例(>80%)限制新买家
强烈看跌(考虑卖出/回避):
- - 机构持股季度环比下降>15%
- 机构数量减少>10%
- 优质投资者退出持仓
- 多个季度持续派发
- 集中度风险(主要持有人大量卖出)
步骤5:投资组合应用
对于新开仓:
- 1. 对您的股票想法进行机构分析
- 寻找确认信号(机构也在积累)
- 如果出现强烈看跌信号,重新考虑或减少仓位
- 如果出现强烈看涨信号,增强对观点的信心
对于现有持仓:
- 1. 在13F申报截止日期后进行季度审查
- 监控派发情况(预警系统)
- 如果机构正在退出,重新评估您的观点
- 如果出现广泛的机构卖出,考虑减仓
筛选工作流程整合:
- 1. 使用价值股息筛选器或其他筛选工具寻找候选股票
- 对首选候选股票运行机构资金流向追踪器
- 优先考虑机构积累的股票
- 回避机构派发的股票
输出格式
所有分析生成结构化的Markdown报告,保存到仓库根目录:
文件命名约定: institutionalflowanalysis<股票代码/主题><日期>.md
报告章节:
- 1. 执行摘要(主要发现)
- 机构持股趋势(当前vs历史)
- 主要持有人及其变动
- 新买家vs卖家
- 集中度分析
- 解读与建议
- 数据来源与时间戳
局限性与注意事项
数据延迟:
- - 13F申报有45天报告延迟
- 自申报日期以来持仓可能已发生变化
- 用作确认指标,而非领先信号
覆盖范围:
- - 仅管理资产>1亿美元的机构需要申报
- 不包括个人投资者和较小的基金
- 国际机构可能不提交13F申报
报告规则:
- - 仅报告多头股票持仓(不含空头、期权、债券)
- 持仓为季度末快照
- 部分持仓可能保密(延迟报告)
解读:
- - 相关性≠因果关系(尽管机构买入,股票仍可能下跌)
- 考虑整体市场环境和基本面
- 结合技术分析和其他技能
高级用例
内部人+机构组合:
- - 寻找内部人和机构都在买入的股票
- 当两者一致时信号特别强劲
行业轮动检测:
- - 按行业追踪机构资金流总量
- 在价格变动前识别早期轮动趋势
反向操作:
- - 寻找机构正在卖出的优质股票(潜在价值)
- 需要强烈的基本面信念
聪明钱验证:
- - 在重大持仓前,检查聪明钱是否一致
- 增强信心或发现被