AGENT SKILL

13f-analyzer

Perform various data analysis on SEC 13-F and obtain some insights of fund activities such as number of holdings, AUM, and change of holdings between two quarters.

License 许可
Apache-2.0
最近更新
2026-11-14
Stars
★ 0
Forks
1

01 前言 Front Matter

name
13f-analyzer
description
Perform various data analysis on SEC 13-F and obtain some insights of fund activities such as number of holdings, AUM, and change of holdings between two quarters.

02 资源文件 2

03 SKILL.md 正文

Overview

The helper programs are installed under /skills/13f-analyzer/scripts. Run them from that absolute path; the task workspace is normally /root, so scripts/... and /root/scripts/... are not equivalent paths. If a helper cannot be found, check /skills/13f-analyzer/scripts before writing a replacement analysis pipeline.

The helpers are dependency-free (standard library only). They read TSV files under $SEC13F_DATA_ROOT/<quarter>/ (default: /root/<quarter>/).

Analyze the holding summary of a particular fund in one quarter:

python3 /skills/13f-analyzer/scripts/one_fund_analysis.py \
    --accession_number ... \
    --quarter 2025-q2 \

This script will print out several basic information of a given fund on 2025-q2, including total number of holdings, AUM, total number of stock holdings, etc.

Interpret the printed fields precisely:

  • Total AUM is the fund AUM across all reported holdings.
  • Total number of holdings counts all reported holding rows.
  • Number of stock holdings counts rows remaining after the helper's stock TITLEOFCLASS filter. When a question asks how many stocks the fund holds, use this field—not total holdings, TABLEENTRYTOTAL, or the number of unique CUSIPs.

Analyze the change of holdings of a particular fund in between two quarters:

python3 /skills/13f-analyzer/scripts/one_fund_analysis.py \
    --quarter 2025-q3 \
    --accession_number <accession number assigned in q3> \
    --baseline_quarter 2025-q2 \
    --baseline_accession_number <accession number assigned in q2>

This script will print out the change in reported holding VALUE from 2025-q2 to 2025-q3, aggregated by CUSIP.

  • Top Buys: CUSIPs with the largest positive VALUE change (VALUE_current - VALUE_baseline), ranked by absolute dollar-value increase (the 13F VALUE column, commonly reported in $1,000 units). This includes both new positions (baseline VALUE = 0) and increases to existing positions.
  • Top Sells: CUSIPs with the most negative VALUE change.

When answering a question like “top 5 stocks received increased investment ... ranked by dollar value increase”, take the first 5 CUSIPs from the Top Buys list.

Analyze which funds hold a stock to the most extent

python3 /skills/13f-analyzer/scripts/holding_analysis.py \
    --cusip <stock cusip> \
    --quarter 2025-q3 \
    --topk 10

This script will print out the top 10 hedge funds who hold a particular stock with highest notional value.

04 同仓库更多 Skills