13f-data-parsing
A skill for parsing and analyzing SEC Form 13F TSV files, including COVERPAGE, INFOTABLE, and SUMMARYPAGE, using pandas.
- License 许可
- MIT
- 最近更新
- 2026-10-02
- Stars
- ★ 93
- Forks
- 8
01 前言 Front Matter
- name
- 13f-data-parsing
- description
- A skill for parsing and analyzing SEC Form 13F TSV files, including COVERPAGE, INFOTABLE, and SUMMARYPAGE, using pandas.
03 SKILL.md 正文
13F Data Parsing
This skill outlines how to process SEC Form 13F data structured as TSV files (COVERPAGE, INFOTABLE, SUMMARYPAGE, etc.).
Requirements
- pandas
- dask (optional for large files)
Common Operations
1. Loading the Data
Use pd.read_csv with sep='\t' to read the files. For large files like INFOTABLE.tsv, you might want to specify dtype or use low_memory=False.
import pandas as pd
coverpage_df = pd.read_csv('COVERPAGE.tsv', sep='\t', low_memory=False)
infotable_df = pd.read_csv('INFOTABLE.tsv', sep='\t', low_memory=False)
summary_df = pd.read_csv('SUMMARYPAGE.tsv', sep='\t', low_memory=False)
2. Finding Fund Accession Number
The COVERPAGE contains the name of the institutional investment manager.
# Assuming 'FILINGMANAGER_NAME' or similar column exists.
# We will use fuzzy matching to find the exact name.
3. Extracting Fund Details (AUM, Number of Holdings)
Once you have the ACCESSION_NUMBER, you can look it up in SUMMARYPAGE or INFOTABLE.
AUM can be calculated as the sum of VALUEDOLLAR (or similar column) in INFOTABLE for the specific accession number, or sometimes it's reported in SUMMARYPAGE. Number of holdings can be the count of rows in INFOTABLE for that accession number.
4. Analyzing Changes between Quarters
You can join INFOTABLEs from two quarters on CUSIP for a specific fund to find differences in share count or value.
04 同仓库更多 Skills
object_counter
Count occurrences of an object in the image using computer vision algorithm.
travel-planning-workflow
Invoke this skill when performing travel planning. It defines a structured workflow for generating itineraries. Following this workflow is essential to ensure the final plan satisfies user requirements.
bundled-dataset-search-tool
invoke this skill when you need to perform database search for travel planning. This skill provides some useful pre-packaged tools to look up accommodations, attractions, cities, driving distance, flights, and restaurants from the bundled dataset.
glm-output
Output-processing guidance for GLM tasks. Especially useful after glm-basics and glm-calibration when you need verifier-matching metrics from output.nc and a final /root/metrics.json.
glm-calibration
Calibration guidance for GLM tasks. Often most effective after glm-basics has clarified the setup; glm-output is the companion skill for exact final metric computation.
glm-basics
A good starting point for GLM calibration tasks. Use to inspect glm3.nml, confirm how GLM runs, and identify the relevant files before moving on to calibration and output evaluation.