WHAT IT ANSWERS
这张表适合回答什么
- 按标的和时间检索事件或原文
- 与行情联接研究事件前后反应
DATASET · event
event.institutional_holdings
这是公告、新闻与可交易事件中的“机构持仓申报明细”数据集;一行由 filer_cik、period_of_report、cusip、ticker_or_class 定位,主要字段包括 instrument_id、issuer_name、value_usd、shares_or_principal、ssh_prnamt_type。
updated_atWHAT IT ANSWERS
GRAIN & TIME
KEY FIELDS
accession_nocusipfiler_cikperiod_of_reportticker_or_classinstrument_idRECOMMENDED JOINS
ref.instrumenton instrument_id用 instrument_id 补充证券代码、名称、市场、交易所和资产类型。
HOW TO QUERY SAFELY
先用 catalog 确认当前契约;必须提供 instrument_id;单页最多 5000 行,响应有 has_more 时原样传回 next_cursor 继续分页。
MACHINE CONTRACT
filer_cik, period_of_report, cusip, ticker_or_classfiler_cik, period_of_report, cusip, ticker_or_classcanonical_final_activeaccession_no→ accession_no · stringfiler_cik→ filer_cik · stringinstrument_id→ instrument_id · integer · 必填source→ source · stringPOINT IN TIME
该资产没有 PIT 契约。普通 rows 端点仍按当前公开读模式返回数据;不要把它表述成历史时点快照。
COPY-READY CALLS
同一数据集可用 HTTP、Python SDK、CLI 或 MCP;Key 始终只通过环境变量/Bearer Header 传递。
curl --fail-with-body -H "Authorization: Bearer $FRIENDS_DATA_API_KEY" "https://api.alphahubs.uk/api/v1/data/datasets/event/institutional_holdings/rows?limit=100&instrument_id=1"from friends_data_api import FriendsDataClient, Settings
async with FriendsDataClient(Settings.from_env()) as client:
page = await client.get_dataset_rows('event', 'institutional_holdings', limit=100, filters={'instrument_id': 1})
print(page.data)
if page.has_more:
print("next cursor:", page.next_cursor)friends-data get-dataset-rows event institutional_holdings --limit 100 --filter instrument_id=1{
"arguments": {
"dataset": "institutional_holdings",
"filters": {
"instrument_id": 1
},
"limit": 100,
"namespace": "event"
},
"tool": "get_dataset_rows"
}FIELD DICTIONARY
descriptionSource 可在 JSON 中区分仓库注释、标准术语表和名称推导说明。
| # | 字段 | ClickHouse 类型 | JSON | 可空 | 角色 | 说明 |
|---|---|---|---|---|---|---|
| 1 | filer_cik | String | string | no | filter, default_order, warehouse_primary_key, contract_unique_key | Source-normalized field: filer cik.名称推导 |
| 2 | period_of_report | Date | string / date | no | default_order, warehouse_primary_key, contract_unique_key | Source-normalized field: period of report.名称推导 |
| 3 | cusip | String | string | no | default_order, warehouse_primary_key, contract_unique_key | Source-normalized field: cusip.名称推导 |
| 4 | instrument_id | UInt64 | integer | no | filter, required_filter | WarrenHub canonical instrument identifier; use it for cross-dataset joins.标准术语表 |
| 5 | issuer_name | String | string | no | value | Source-normalized field: issuer name.名称推导 |
| 6 | ticker_or_class | String | string | no | default_order, warehouse_primary_key, contract_unique_key | Source-normalized field: ticker or class.名称推导 |
| 7 | value_usdUSD | Float64 | number | no | value | US-dollar value for value usd.名称推导 |
| 8 | shares_or_principal | Float64 | number | no | value | Source-normalized field: shares or principal.名称推导 |
| 9 | ssh_prnamt_type | LowCardinality(String) | string | no | value | Source-normalized field: ssh prnamt type.名称推导 |
| 10 | investment_discretion | LowCardinality(String) | string | no | value | Source-normalized field: investment discretion.名称推导 |
| 11 | voting_sole | Float64 | number | no | value | Source-normalized field: voting sole.名称推导 |
| 12 | voting_shared | Float64 | number | no | value | Source-normalized field: voting shared.名称推导 |
| 13 | voting_none | Float64 | number | no | value | Source-normalized field: voting none.名称推导 |
| 14 | accession_no | String | string | no | filter | SEC accession number identifying one filing submission.标准术语表 |
| 15 | row_index | UInt32 | integer | no | value | Source-normalized field: row index.名称推导 |
| 16 | source | LowCardinality(String) | string | no | filter, provenance | Normalized upstream source identifier.标准术语表 |
| 17 | source_priority | UInt8 | integer | no | value | Source-normalized field: source priority.名称推导 |
| 18 | ingest_run_id | String | string | no | provenance | Identifier of the ingestion run that produced the row.标准术语表 |
| 19 | version | UInt64 | integer | no | provenance | Monotonic row version used for correction-aware reads.标准术语表 |
| 20 | is_deleted | UInt8 | integer | no | value | Soft-delete marker; public serving excludes current tombstones.标准术语表 |
| 21 | created_atUTC_datetime | DateTime64(3, 'UTC') | string / date-time | no | value | UTC timestamp when the warehouse row was first created.标准术语表 |
| 22 | updated_atUTC_datetime | DateTime64(3, 'UTC') | string / date-time | no | time | UTC timestamp when the warehouse row was last updated.标准术语表 |
换一个字段名、类型或角色。
结构来自 Friends 只读身份可见的真实 serving relation;权限、过滤、排序、PIT 与分页来自可执行 DatasetSpec。Schema observed at 2026-10-06T18:08:52Z。