Dataset Viewer
Auto-converted to Parquet Duplicate
knowledge_date
timestamp[us, tz=UTC]date
2013-05-21 04:00:00
2026-10-09 21:17:35
ticker
large_stringlengths
1
5
cusip
large_stringlengths
9
9
⌀
issuer_cik
large_stringlengths
10
10
⌀
period_of_report
date32
n_managers
int32
0
6.25k
n_new
int32
0
2.96k
n_exits
int32
0
3.11k
n_increased
int32
0
4.02k
n_decreased
int32
0
3.06k
pct_reported
float32
0
1
⌀
shares_total
float32
0
145B
shares_change_qoq
float32
-145,000,005,632
145B
value_usd_total
float32
0
3,350B
2013-05-22T04:00:00
A
00846U101
0001090872
2013-03-31
1
1
0
0
0
null
147,000
147,000
6,160,000
2013-05-23T04:00:00
A
00846U101
0001090872
2013-03-31
4
4
0
0
0
null
618,000
618,000
25,900,000
2013-05-24T04:00:00
A
00846U101
0001090872
2013-03-31
5
5
0
0
0
null
620,000
620,000
26,000,000
2013-05-30T04:00:00
A
00846U101
0001090872
2013-03-31
5
5
0
0
0
0
620,000
620,000
26,000,000
2013-06-06T04:00:00
A
00846U101
0001090872
2013-03-31
6
6
0
0
0
0
853,000
853,000
35,800,000
2013-06-15T04:00:00
A
00846U101
0001090872
2013-03-31
8
8
0
0
0
0
853,000
853,000
35,800,000
2013-06-18T04:00:00
A
00846U101
0001090872
2013-03-31
9
8
0
1
0
0.25
863,000
753,000
35,800,000
2013-06-21T04:00:00
A
00846U101
0001090872
2013-03-31
9
8
0
1
0
0.25
863,000
753,000
36,200,000
2013-07-03T04:00:00
A
00846U101
0001090872
2013-06-30
0
0
0
0
0
0
0
0
0
2013-07-04T04:00:00
A
00846U101
0001090872
2013-06-30
0
0
0
0
0
0
0
0
0
2013-07-10T04:00:00
A
00846U101
0001090872
2013-06-30
3
3
0
0
0
0
158,000
158,000
6,780,000
2013-07-11T04:00:00
A
00846U101
0001090872
2013-06-30
8
8
0
0
0
0
234,000
234,000
10,000,000
2013-07-12T04:00:00
A
00846U101
0001090872
2013-06-30
10
10
0
0
0
0
292,000
292,000
12,500,000
2013-07-13T04:00:00
A
00846U101
0001090872
2013-06-30
19
17
0
1
1
0.15
1,890,000
1,230,000
59,900,000
2013-07-16T04:00:00
A
00846U101
0001090872
2013-06-30
24
22
0
1
1
0.15
2,920,000
2,260,000
104,000,000
2013-07-17T04:00:00
A
00846U101
0001090872
2013-06-30
25
23
0
1
1
0.15
2,930,000
2,270,000
104,000,000
2013-07-18T04:00:00
A
00846U101
0001090872
2013-06-30
31
29
0
1
1
0.15
3,160,000
2,490,000
114,000,000
2013-07-19T04:00:00
A
00846U101
0001090872
2013-06-30
37
35
0
1
1
0.15
5,090,000
4,420,000
197,000,000
2013-07-20T04:00:00
A
00846U101
0001090872
2013-06-30
41
39
0
1
1
0.15
5,180,000
4,520,000
201,000,000
2013-07-23T04:00:00
A
00846U101
0001090872
2013-06-30
47
45
0
1
1
0.15
5,600,000
4,930,000
219,000,000
2013-07-24T04:00:00
A
00846U101
0001090872
2013-06-30
51
49
0
1
1
0.15
9,010,000
8,340,000
364,000,000
2013-07-25T04:00:00
A
00846U101
0001090872
2013-06-30
61
58
0
1
2
0.2
10,500,000
9,660,000
427,000,000
2013-07-26T04:00:00
A
00846U101
0001090872
2013-06-30
69
65
0
1
3
0.27
11,400,000
10,400,000
467,000,000
2013-07-27T04:00:00
A
00846U101
0001090872
2013-06-30
76
72
0
1
3
0.25
11,500,000
10,500,000
470,000,000
2013-07-30T04:00:00
A
00846U101
0001090872
2013-06-30
87
82
0
2
3
0.31
12,500,000
10,900,000
512,000,000
2013-07-31T04:00:00
A
00846U101
0001090872
2013-06-30
98
93
0
2
3
0.31
14,800,000
13,200,000
613,000,000
2013-08-01T04:00:00
A
00846U101
0001090872
2013-06-30
103
98
0
2
3
0.31
15,200,000
13,600,000
628,000,000
2013-08-02T04:00:00
A
00846U101
0001090872
2013-06-30
111
105
0
2
3
0.38
19,300,000
17,700,000
804,000,000
2013-08-03T04:00:00
A
00846U101
0001090872
2013-06-30
124
118
0
2
3
0.38
24,300,000
22,700,000
1,020,000,000
2013-08-06T04:00:00
A
00846U101
0001090872
2013-06-30
136
130
0
2
3
0.38
29,800,000
28,200,000
1,250,000,000
2013-08-07T04:00:00
A
00846U101
0001090872
2013-06-30
148
142
0
2
3
0.38
33,500,000
31,900,000
1,410,000,000
2013-08-08T04:00:00
A
00846U101
0001090872
2013-06-30
174
168
0
2
3
0.38
41,000,000
39,400,000
1,730,000,000
2013-08-09T04:00:00
A
00846U101
0001090872
2013-06-30
208
202
0
2
3
0.38
60,300,000
58,700,000
2,560,000,000
2013-08-10T04:00:00
A
00846U101
0001090872
2013-06-30
231
224
0
2
4
0.44
72,000,000
70,400,000
3,060,000,000
2013-08-13T04:00:00
A
00846U101
0001090872
2013-06-30
255
247
0
2
5
0.5
76,600,000
74,900,000
3,249,999,872
2013-08-14T19:32:58
A
00846U101
0001090872
2013-06-30
323
315
0
2
5
0.5
157,000,000
155,000,000
6,689,999,872
2013-08-15T04:00:00
A
00846U101
0001090872
2013-06-30
456
442
0
3
8
0.88
252,000,000
248,000,000
10,700,000,256
2013-08-16T04:00:00
A
00846U101
0001090872
2013-06-30
489
473
0
5
8
0.94
261,000,000
257,000,000
11,100,000,256
2013-08-17T04:00:00
A
00846U101
0001090872
2013-06-30
490
474
1
5
8
0.94
261,000,000
257,000,000
11,100,000,256
2013-08-20T04:00:00
A
00846U101
0001090872
2013-06-30
492
475
2
6
8
1
262,000,000
257,000,000
11,200,000,000
2013-08-21T04:00:00
A
00846U101
0001090872
2013-06-30
494
477
2
6
8
1
264,000,000
259,000,000
11,299,999,744
2013-08-22T04:00:00
A
00846U101
0001090872
2013-06-30
496
479
2
6
8
1
264,000,000
259,000,000
11,299,999,744
2013-08-23T04:00:00
A
00846U101
0001090872
2013-06-30
498
481
2
6
8
1
264,000,000
259,000,000
11,299,999,744
2013-08-24T04:00:00
A
00846U101
0001090872
2013-06-30
498
481
2
6
8
1
264,000,000
259,000,000
11,299,999,744
2013-08-28T04:00:00
A
00846U101
0001090872
2013-06-30
499
482
2
6
8
1
264,000,000
259,000,000
11,299,999,744
2013-08-31T04:00:00
A
00846U101
0001090872
2013-06-30
501
484
2
6
8
1
264,000,000
259,000,000
11,299,999,744
2013-09-07T04:00:00
A
00846U101
0001090872
2013-06-30
501
484
2
6
8
1
264,000,000
259,000,000
11,299,999,744
2013-09-13T04:00:00
A
00846U101
0001090872
2013-06-30
501
484
2
6
8
1
264,000,000
259,000,000
11,299,999,744
2013-09-18T04:00:00
A
00846U101
0001090872
2013-06-30
502
484
2
6
9
1
264,000,000
259,000,000
11,299,999,744
2013-09-20T04:00:00
A
00846U101
0001090872
2013-06-30
502
484
2
6
9
1
264,000,000
259,000,000
11,299,999,744
2013-09-21T04:00:00
A
00846U101
0001090872
2013-06-30
503
484
2
7
9
1
271,000,000
263,000,000
11,600,000,000
2013-09-25T04:00:00
A
00846U101
0001090872
2013-06-30
503
484
2
7
9
1
271,000,000
263,000,000
11,600,000,000
2013-09-27T04:00:00
A
00846U101
0001090872
2013-06-30
504
485
2
7
9
1
271,000,000
263,000,000
11,600,000,000
2013-10-02T04:00:00
A
00846U101
0001090872
2013-09-30
1
1
1
0
0
0
4,690
-142,000
240,000
2013-10-03T04:00:00
A
00846U101
0001090872
2013-09-30
3
1
1
0
2
0.01
143,000
-146,000
7,340,000
2013-10-04T04:00:00
A
00846U101
0001090872
2013-09-30
4
1
1
1
2
0.01
159,000
-146,000
8,140,000
2013-10-05T04:00:00
A
00846U101
0001090872
2013-09-30
6
1
1
2
2
0.01
294,000
-146,000
15,100,000
2013-10-08T04:00:00
A
00846U101
0001090872
2013-09-30
11
1
1
5
3
0.02
516,000
-149,000
26,500,000
2013-10-09T04:00:00
A
00846U101
0001090872
2013-09-30
15
1
2
6
4
0.03
638,000
-151,000
32,700,000
2013-10-10T04:00:00
A
00846U101
0001090872
2013-09-30
17
1
2
8
4
0.04
859,000
-148,000
44,000,000
2013-10-11T04:00:00
A
00846U101
0001090872
2013-09-30
22
1
2
10
5
0.05
964,000
-142,000
49,300,000
2013-10-16T04:00:00
A
00846U101
0001090872
2013-09-30
27
1
2
10
7
0.06
1,230,000
-148,000
63,000,000
2013-10-17T04:00:00
A
00846U101
0001090872
2013-09-30
37
1
4
11
13
0.08
2,450,000
-899,000
102,000,000
2013-10-18T04:00:00
A
00846U101
0001090872
2013-09-30
45
2
5
12
18
0.1
3,090,000
-1,070,000
135,000,000
2013-10-19T04:00:00
A
00846U101
0001090872
2013-09-30
51
3
6
15
19
0.11
3,610,000
-1,020,000
162,000,000
2013-10-22T04:00:00
A
00846U101
0001090872
2013-09-30
54
3
7
17
20
0.12
3,930,000
-1,090,000
178,000,000
2013-10-23T04:00:00
A
00846U101
0001090872
2013-09-30
62
3
8
20
25
0.13
8,390,000
-1,170,000
407,000,000
2013-10-24T04:00:00
A
00846U101
0001090872
2013-09-30
69
5
8
21
28
0.14
8,620,000
-1,040,000
419,000,000
2013-10-25T04:00:00
A
00846U101
0001090872
2013-09-30
81
9
9
23
31
0.16
9,120,000
-1,040,000
444,000,000
2013-10-26T04:00:00
A
00846U101
0001090872
2013-09-30
94
12
9
25
37
0.18
10,600,000
-1,050,000
520,000,000
2013-10-29T04:00:00
A
00846U101
0001090872
2013-09-30
103
13
9
28
39
0.2
11,000,000
-1,020,000
538,000,000
2013-10-30T04:00:00
A
00846U101
0001090872
2013-09-30
111
14
10
32
41
0.21
12,600,000
-833,000
625,000,000
2013-10-31T04:00:00
A
00846U101
0001090872
2013-09-30
124
14
10
37
46
0.24
16,800,000
-673,000
836,000,000
2013-11-01T04:00:00
A
00846U101
0001090872
2013-09-30
133
14
10
41
49
0.26
25,000,000
-1,200,000
1,260,000,000
2013-11-02T04:00:00
A
00846U101
0001090872
2013-09-30
142
17
11
43
53
0.27
25,900,000
-1,090,000
1,300,000,000
2013-11-05T05:00:00
A
00846U101
0001090872
2013-09-30
149
18
12
49
53
0.28
28,100,000
-202,000
1,420,000,000
2013-11-06T05:00:00
A
00846U101
0001090872
2013-09-30
162
20
14
52
60
0.31
30,800,000
-189,000
1,550,000,000
2013-11-07T05:00:00
A
00846U101
0001090872
2013-09-30
183
23
16
59
69
0.35
36,200,000
-299,000
1,830,000,000
2013-11-08T05:00:00
A
00846U101
0001090872
2013-09-30
205
23
16
69
77
0.39
56,100,000
-1,790,000
2,849,999,872
2013-11-09T05:00:00
A
00846U101
0001090872
2013-09-30
227
28
17
73
88
0.43
59,300,000
-1,660,000
3,020,000,000
2013-11-13T05:00:00
A
00846U101
0001090872
2013-09-30
298
39
22
91
121
0.56
124,000,000
-1,120,000
6,320,000,000
2013-11-14T21:20:25
A
00846U101
0001090872
2013-09-30
364
43
27
119
147
0.69
164,000,000
-4,840,000
8,360,000,000
2013-11-15T05:00:00
A
00846U101
0001090872
2013-09-30
509
75
46
159
213
0.95
264,000,000
-910,000
13,500,000,256
2013-11-16T05:00:00
A
00846U101
0001090872
2013-09-30
525
79
47
163
219
0.98
268,000,000
-723,000
13,699,999,744
2013-11-19T05:00:00
A
00846U101
0001090872
2013-09-30
530
80
47
163
221
0.98
271,000,000
723,000
13,900,000,256
2013-11-20T05:00:00
A
00846U101
0001090872
2013-09-30
531
80
47
163
221
0.99
271,000,000
723,000
13,900,000,256
2013-11-21T05:00:00
A
00846U101
0001090872
2013-09-30
531
80
47
163
221
0.99
271,000,000
723,000
13,900,000,256
2013-11-22T05:00:00
A
00846U101
0001090872
2013-09-30
531
80
47
163
221
0.99
271,000,000
723,000
13,900,000,256
2013-11-26T05:00:00
A
00846U101
0001090872
2013-09-30
532
80
47
163
221
0.99
271,000,000
723,000
13,900,000,256
2013-11-27T05:00:00
A
00846U101
0001090872
2013-09-30
533
81
47
163
221
0.99
271,000,000
724,000
13,900,000,256
2013-11-28T05:00:00
A
00846U101
0001090872
2013-09-30
534
81
47
163
221
0.99
272,000,000
724,000
13,900,000,256
2013-12-03T05:00:00
A
00846U101
0001090872
2013-09-30
534
81
47
163
221
0.99
272,000,000
724,000
13,900,000,256
2013-12-05T05:00:00
A
00846U101
0001090872
2013-09-30
534
81
47
163
221
0.99
272,000,000
724,000
13,900,000,256
2013-12-10T05:00:00
A
00846U101
0001090872
2013-09-30
534
81
47
164
220
0.99
273,000,000
2,280,000
14,000,000,000
2013-12-11T05:00:00
A
00846U101
0001090872
2013-09-30
534
81
47
163
221
0.99
272,000,000
724,000
13,900,000,256
2013-12-17T05:00:00
A
00846U101
0001090872
2013-09-30
535
81
47
164
221
0.99
272,000,000
853,000
13,900,000,256
2013-12-19T05:00:00
A
00846U101
0001090872
2013-09-30
536
82
47
164
221
0.99
272,000,000
963,000
13,900,000,256
2013-12-24T05:00:00
A
00846U101
0001090872
2013-09-30
536
82
47
164
221
0.99
272,000,000
1,350,000
13,900,000,256
2013-05-23T04:00:00
AA
013817101
0000004281
2013-03-31
2
2
0
0
0
null
1,050,000
1,050,000
8,950,000
2013-05-30T04:00:00
AA
013817101
0000004281
2013-03-31
2
2
0
0
0
0
1,050,000
1,050,000
8,950,000
End of preview. Expand in Data Studio

ZipLime Institutional Fund Portfolios (PIT)

A 13F is stale by construction. It reports a quarter that ended up to 45 days earlier, and amendments restate it for months afterwards — the longest in this dataset arrived 452 days late. Use knowledge_date, never event_date, to decide what a strategy could act on.

Every Form 13F holdings report filed with the U.S. SEC since structured filing began, turned into point-in-time portfolios: what each institutional manager held, as it became known, and what every manager together held of each ticker.

The deterministic recipe lives in recipe/ in the same repository and revision as the published data. Nothing here was assembled by hand — see PIPELINE.md for the method, including the parts that are approximate.

Configs

Config Rows Size Grain Purpose
features (default) 10,805,977 99 MB One ticker and knowledge day What a strategy reads. Institutional ownership of each ticker for the current reporting quarter, as known that day.
managers 320,901 9 MB One curated manager, ticker and filing What a famous-investor strategy reads. Each of 28 curated managers' whole book after every 13F, with rank, weight, new/added/reduced/exited status and streaks already computed.
positions 87,925,129 2.8 GB One manager/quarter/security knowledge event The point-in-time view. A Delta table the backtester mounts; the same files read as Parquet.
holdings 124,100,064 2.6 GB One information-table row Source rows before aggregation. A security is reported once per subsidiary manager.
filings 409,891 17 MB One 13F submission Ledger of every report, notice and amendment, with its acceptance time and quality flags.
filing_flags, unit_corrections 409,891 / 3,362 One filing Where this pipeline disagrees with a filer about value.

Covering 2013 Q2 to 2026 Q2 across 16,538 managers, current to the last filing accepted on 2026-09-29.

Every table is partitioned by the UTC year of its knowledge time, knowledge_year=YYYY/. A backtest over the first half of 2024 needs the 2024 partition and, for the portfolios known on 2 January, the 2023 one — it never needs the rest. Inside a partition files are sorted by ticker (holdings: by CUSIP), then knowledge time, so a reader asking for a handful of tickers opens a few row groups.

from datasets import load_dataset

features = load_dataset("ZipLime/institutional-portfolio-13f", split="train")  # default config
import polars as pl

# Only the 2024 partition is read, and only these tickers' row groups.
features = pl.scan_parquet(
    "hf://datasets/ZipLime/institutional-portfolio-13f/data/features/knowledge_year=2024/*.parquet"
).filter(pl.col("ticker").is_in(["AAPL", "MSFT"])).collect()

# The point-in-time table, with exact dtypes, through its Delta log.
positions = pl.scan_delta("data/positions/fund_portfolios.delta")

Pin a repository revision for a reproducible research result.

The one thing to know before backtesting

A 13F tells you what a manager held at a quarter end, not what they hold. The gap is structural and large:

quarter ends 30 Jun  ->  report due 14 Aug  ->  amended into November

On 1 August you are still holding the March portfolio. Between 14 August and 14 November you hold June's. Median disclosure lag in this dataset is 45 days; amendments run to a median of 135 days and a maximum of 452.

Two consequences the data itself carries:

  • Confidential treatment hides positions, then reveals them. A manager can ask the SEC to withhold a position while it is being built; when the request expires the position appears in a NEW HOLDINGS amendment months later. Berkshire's Q1 2025 report showed 36 positions when filed and 39 after the 14 August amendment. Query at the earlier date and the withheld position is correctly absent.
  • Only long US-listed equity is here. No shorts, no cash, no bonds, no foreign listings. For Berkshire that means the Japanese trading houses and the operating businesses are invisible; this is the US public equity book, not the company.

Features — the default config

One row per ticker and UTC day on which any manager's report changed what was known about it, carrying the aggregate over every manager for the current reporting quarter as known at knowledge_date. The current quarter on a day is the last quarter that ended before it: from 1 April to 30 June a row describes the March quarter, however few managers have filed it yet.

Column Meaning
knowledge_date Latest acceptance time among the filings that changed the row that day (UTC). Act on the row only after it.
ticker, cusip, issuer_cik The security; cusip and issuer_cik are its most-reported CUSIP and the filer behind it.
period_of_report The quarter the row describes.
n_managers Managers holding it in that quarter, among those that have filed.
n_new, n_exits Holders that did not hold it last quarter; last quarter's holders that have filed this one without it.
n_increased, n_decreased Holders of both quarters whose share count rose or fell.
shares_total, value_usd_total Shares and value held, over current holders. Value excludes rows flagged unreliable.
shares_change_qoq Change in shares against last quarter, over managers that have filed this quarter.
pct_reported Share of last quarter's holders that have filed this quarter: how far the filing season has got.

A manager that has not filed yet is never read as a seller: the quarter-on-quarter columns compare a manager only once its report is in. Amendments and restatements arrive on the day they were filed. Aggregates are kept to three significant figures and pct_reported to whole percentage points so the whole config stays near 100 MB; the exact figures are in positions. Only long equity (no puts or calls) mapped to a ticker is counted.

Managers — one book per curated manager

features adds every filer together, so it cannot say what Berkshire just bought; positions can, but it is an event stream a hosted strategy cannot filter, and turning it into a book is the revision replay where look-ahead creeps in. managers does that replay once, for the 28 managers in recipe/managers.py, and publishes the result.

Every time a manager's known book changes -- a 13F-HR, a restatement, a confidential position revealed by a NEW HOLDINGS amendment -- the whole book of its latest reported quarter is published again, stamped with the acceptance time, plus an EXITED row for each position the previous quarter held and this one does not. The newest rows of a manager are its book.

Column Meaning
knowledge_date Acceptance time of the filing that produced the snapshot (UTC); two filings on one day publish once, at the later time.
ticker, ticker_at_filing The ticker the security trades under now (from the CUSIP's newest security-master interval), so it matches an asset database that holds today's tickers -- Meta's 2019 stake is META, not FB -- and the ticker it was filed under. The CUSIP is the identity throughout.
manager, manager_cik The book's slug (berkshire, duquesne, ...) and the entity that filed it. A book can span entities: Appaloosa (2016), Elliott (2020), Greenlight → DME (2024), Pershing Square → Pershing Square Inc. (2026).
period_of_report, prev_period The quarter described, and the manager's previous reported quarter it is compared with.
status INITIAL (no earlier quarter on file), NEW, ADDED, REDUCED, UNCHANGED, EXITED; SNAPSHOT for the marker row below.
newly_disclosed Held now, absent from the manager's previous snapshot: new to the public, including a stake revealed late by a confidential-treatment amendment.
shares, value_usd, weight, rank, n_positions The position, its share of the book's trusted long-equity value, its rank by value, and the size of the whole book.
prev_shares, prev_weight, prev_rank, shares_chg_pct, weight_chg The same position last quarter, and the change -- split adjusted.
quarters_held, rising_streak, quarters_absent Consecutive quarters held; consecutive quarters the share count rose; for a returning position, quarters it was away.
split_ratio A split between the two quarters, read as the median share-count change over every holder of the security (NVIDIA 2024: 10.002 → 10).
is_etf, value_flagged An exchange-traded fund (by name, and by the security master's fund flag except for real-estate trusts); a value this pipeline does not trust.

Each snapshot also carries one row on SPY with status == "SNAPSHOT". A hosted strategy reads a dataset only for the instruments it names; reading SPY with its universe tells it which snapshot is a manager's newest even when every position falls outside that universe. Share-class tickers the security master writes without a separator (BRKB) are published a second time in dotted form (BRK.B) under the same CUSIP, so the spelling the asset database uses resolves; keep one row per manager and CUSIP. Books of thousands of positions (Renaissance, Citadel, D. E. Shaw, Two Sigma, Point72, Millennium) are cut to their 500 largest after ranking the whole book.

The strategy catalogue built on this config -- one template, catalog/strategy_13f.py, and thirty parameter sets in catalog/strategies.json such as Buffett New Buys or Legends Portfolio -- ships in the same revision. A 13F shows long U.S. equity only: these are strategies based on disclosed holdings, not reconstructions of any manager's portfolio or trading.

Point-in-time view

data/positions/fund_portfolios.delta is the table a ziplime bundle mounts. It is a Delta table partitioned by knowledge_year; every file in it is live, so reading knowledge_year=*/*.parquet directly gives the same rows. manifest.json describes it: bundle_storage_data.table_uri points at the table and schema lists its columns exactly as the files carry them.

system   entity_id, event_date, knowledge_date, knowledge_estimated
values   manager_cik, manager_name, cusip, ticker, issuer_cik, match_confidence,
         issuer_name, title_of_class, put_call, shares, value_usd, weight_pct,
         portfolio_value_usd, position_count, rows_aggregated, disclosure_lag_days,
         was_confidential, value_flagged, accession_number, logical_position_id,
         revision, supersedes_position_id, amendment_status, inserted_at

entity_id is the security, by CUSIP; ticker is the ticker it traded under on the knowledge date (manifest.json → entity_column: ticker). The manager holding it is manager_cik. Tickers come from cusip_map in ZipLime/security-master at the revision manifest.json → security_master.revision pins: a row takes the ticker whose first_seen … last_seen interval holds its knowledge date, so 30303M102 is FB before June 2022 and META after. 96.4% of holding rows and 97.3% of their value carry a ticker; match_confidence grades the CIK match behind it.

The as-of query has three steps and the order is load-bearing:

import polars as pl

positions = pl.scan_delta("data/positions/fund_portfolios.delta")

# 1. Restrict to what was knowable at the simulation timestamp.
visible = positions.filter(pl.col("knowledge_date") <= simulation_time).collect()

# 2. Resolve revisions: the newest state of each logical position.
latest = visible.sort(
    ["logical_position_id", "revision", "knowledge_date", "position_event_id"]
).unique(subset=["logical_position_id"], keep="last", maintain_order=True)

# 3. Only now drop what is no longer in force.
portfolio = latest.filter(pl.col("operation") == "UPSERT")
  • Filtering by knowledge_date first keeps an amendment filed after simulation_time from deciding which row survives.
  • Sorting by revision before knowledge_date matters because an estimated knowledge date is an upper bound, pushed to the end of the filing day.
  • Dropping non-UPSERT rows last matters because a retraction is itself a revision; filtering it out earlier resurrects the position it retracted.

recipe/build_positions.py implements exactly this as as_of(positions, at, manager_cik=...), which also picks the latest quarter the manager had reported by that moment and recomputes weights on the resolved set.

Amendments

A 13F-HR/A states which kind it is, and the two are not interchangeable:

amendment_type Meaning Effect
RESTATEMENT Replaces the quarter's table Positions the new table omits get a RETRACT event dated to the amendment
NEW HOLDINGS Adds to the quarter Usually a confidential position whose treatment expired
(absent) The filer declared nothing Left UNRESOLVED, excluded from portfolios by default

Treating one as the other either drops most of a portfolio or double counts it. 22,060 position events come from amendments that declare no type; pass include_unresolved=True to see them.

Reporting units — the largest trap in this data

Form 13F reported holding value in thousands of dollars until an amendment required whole dollars for filings made from January 2023. Filers adopted that on their own schedule: Renaissance Technologies was still filing in thousands six quarters later, and 622 of 10,117 filers were in mid-2024.

A filing read in the wrong unit is wrong by a factor of a thousand while every weight in it stays correct, so nothing downstream notices. The unit is decided from three signals, strongest last: the filing's own implied prices (value ÷ shares, including filings that type every share count PRN); the manager's own value history; and every other holder's price for the same CUSIP that quarter, which overrules the other two wherever it can compare enough rows. 3,362 filings had their unit changed, listed with the pass that changed them in quality/unit_corrections.parquet. value_usd everywhere is in dollars under the decided unit; value_reported_units says what the filer must have used.

What the passes do not settle is flagged, not silently decided: 735 filings in quality/filing_flags.parquet, and 349,919 holding rows priced ten times or more off every other holder of the same security. Both reach positions as value_flagged. Filter on value_flagged before summing notional across managers.

Coverage and known gaps

Covered Gap
Form 13F 2013 Q2 – 2026 Q2, 409,891 submissions Filings before 2013 Q2 are free-text tables this parser does not read
Acceptance time 13,014 filings carry the exact instant from their header 396,877 use the end of the filing day, which errs late and is marked knowledge_estimated
Managers 16,538, the whole universe Managers below the $100M reporting threshold never file
Tickers 96.4% of holding rows CUSIPs never seen settling under a ticker, and dates outside every interval, keep a null

Other things worth knowing:

  • 13F-NT are notices. They report that a manager has nothing to disclose, are kept in filings, and produce no positions.
  • 14,470 filings (4.5%) disagree with the totals their own cover page declares. Filers copy a previous quarter's summary or miscount by one; the filed rows are kept and the disagreement is published in control_rows_delta.
  • 66 filings put share counts in the value column. Flagged value_quality = "value_equals_shares", values unusable.
  • Reports on quarters before 2013 Q2 appear: 1,219 filings from 265 managers, made in the structured format years later — Smith Affiliated Capital filed its 2010–2013 reports in 2015 — or with a mistyped period. They are kept as filed and are not counted as coverage.
  • A quarter is not a holding period. Anything bought and sold inside one quarter never appears at all.

Using it with ziplime

hf://ZipLime/institutional-portfolio-13f mounts features by default. manifest.json declares what a reader needs: default_config, entity_column: ticker, partition_column: knowledge_year, the knowledge_date and event_date columns, a schema per config generated from the files themselves, and for the point-in-time bundle data_type: PIT_DATA, the storage class and bundle_storage_data.table_uri. A backtest window reads only the partitions its knowledge dates fall in.

Not every manager's 13F is a portfolio worth cloning. recipe/managers.py carries a curated registry with a representative flag and the reason: a long-only concentrated book like Berkshire's is substantially the whole position, while a multi-strategy platform's long equity slice is a fragment of a hedge whose other legs are not filed, and a quantitative shop's quarter-end snapshot is not a portfolio anyone held.

How the data was verified

Every published figure comes from the filing it cites; nothing is inferred by a model. The checks that carry the most weight are documented in PIPELINE.md:

  • Two independent sources agree. History is loaded from SEC's quarterly Form 13F Data Sets, but the same filings were also parsed one by one from their XML. On the overlap the two routes produced 25,366 identical positions — zero disagreements in shares, zero in value once the unit normalisation is applied.
  • Acceptance time is read, not taken on trust. It comes from each submission's SGML header, which is stamped in Eastern time and converted here. EDGAR's submission index was checked against those headers on 972 filings: 118 (12%) disagreed, every one by exactly four or five hours — Eastern time labelled UTC, in the direction that creates look-ahead. The index is not used.
  • Prices are checked against the market. Every filing's implied prices are compared with every other holder's for the same CUSIP and quarter; the units follow from that wherever it can be measured.
  • A daily run equals a full rebuild. The position table is appended to, and a test asserts the appended events are exactly those a full replay produces.
  • Publication gates. recipe/quality.py runs before every publication and fails the build on duplicate event IDs, negative values, non-monotonic revisions, a systematic rate of unit discontinuity, any file whose columns differ from the declared schema, and unflagged value priced above $5,000 a share against its other holders. This revision passes all of them (data/quality_report.json).

Updates

Runs execute on Hugging Face Jobs from jobs/run.py, a self-contained UV script stored in this repository, so the code that produced a revision ships with that revision. The order is fixed:

restore -> lint -> tests -> update -> append positions -> features -> validate -> publish

Nothing is uploaded unless every gate before it passed, so a broken run leaves the previous revision as the latest valid release. A run adds one update-<UTC stamp>.parquet per table and knowledge year it touched and rewrites only the current years of features; it never rewrites a published row of the raw tables or the position table, and publishing deletes from the Hub whatever the run no longer holds, so no file of an earlier run lingers. A full rebuild — a new layout, unit rule or security-master revision — is published as a revision of its own.

New submissions are found through EDGAR's quarterly index — one request enumerates a quarter — and only those not already stored are fetched.

License, source terms, and disclaimer

The ZipLime-authored recipe, documentation, schema and database compilation are offered under the Apache License 2.0, to the extent ZipLime has rights to license them. The underlying filings are created by institutional investment managers and made available through SEC EDGAR; this project does not claim that those filings are U.S. Government works. Source URLs and accession numbers are retained on every row for verification. See NOTICE for scope.

CUSIP identifiers appear as filed in public SEC documents. CUSIP Global Services asserts rights in the CUSIP database; consider whether your use requires a licence from them.

Use of SEC systems must follow its developer resources and Fair Access guidance. This dataset is provided for research, without warranty. It is not investment advice, and the extraction is imperfect in the ways documented above.

Downloads last month
4,884