WHAT IT ANSWERS
这张表适合回答什么
- 按标的和时间检索事件或原文
- 与行情联接研究事件前后反应
DATASET · event
event.insider_fmp
这是公告、新闻与可交易事件中的“FMP 内部人交易”数据集;一行由 company_cik、reporting_cik、filing_date、transaction_date 定位,主要字段包括 symbol、reporting_name、type_of_owner、form_type、transaction_type。
filing_dateWHAT IT ANSWERS
GRAIN & TIME
KEY FIELDS
transaction_datecompany_cikreporting_cikfiling_datetransaction_typesecurity_nameRECOMMENDED JOINS
该表主要按自身业务键使用,目前没有推荐的跨表主键联接。
HOW TO QUERY SAFELY
先用 catalog 确认当前契约;可按 catalog 中列出的 filters 进一步缩小范围;单页最多 5000 行,响应有 has_more 时原样传回 next_cursor 继续分页。
MACHINE CONTRACT
company_cik, reporting_cik, filing_date, transaction_date, transaction_type, security_name, securities_transacted, pricecompany_cik, reporting_cik, filing_date, transaction_date, transaction_type, security_name, securities_transacted, pricecanonical_final_activeform_type→ form_type · stringprovider→ provider · stringsource→ source · stringsymbol→ symbol · stringtransaction_type→ transaction_type · 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/insider_fmp/rows?limit=100&form_type=10-Q"from friends_data_api import FriendsDataClient, Settings
async with FriendsDataClient(Settings.from_env()) as client:
page = await client.get_dataset_rows('event', 'insider_fmp', limit=100, filters={'form_type': '10-Q'})
print(page.data)
if page.has_more:
print("next cursor:", page.next_cursor)friends-data get-dataset-rows event insider_fmp --limit 100 --filter form_type=10-Q{
"arguments": {
"dataset": "insider_fmp",
"filters": {
"form_type": "10-Q"
},
"limit": 100,
"namespace": "event"
},
"tool": "get_dataset_rows"
}FIELD DICTIONARY
descriptionSource 可在 JSON 中区分仓库注释、标准术语表和名称推导说明。
| # | 字段 | ClickHouse 类型 | JSON | 可空 | 角色 | 说明 |
|---|---|---|---|---|---|---|
| 1 | symbol | String | string | no | filter | Display or trading symbol for the instrument.标准术语表 |
| 2 | company_cik | String | string | no | default_order, warehouse_primary_key, contract_unique_key | Source-normalized field: company cik.名称推导 |
| 3 | reporting_cik | String | string | no | default_order, warehouse_primary_key, contract_unique_key | Source-normalized field: reporting cik.名称推导 |
| 4 | reporting_name | String | string | no | value | Source-normalized field: reporting name.名称推导 |
| 5 | type_of_owner | String | string | no | value | Source-normalized field: type of owner.名称推导 |
| 6 | form_type | LowCardinality(String) | string | no | filter | Source-normalized field: form type.名称推导 |
| 7 | filing_datedate | Date | string / date | no | time, default_order, warehouse_primary_key, contract_unique_key | Date on which the filing was submitted or published.标准术语表 |
| 8 | transaction_datedate | Date | string / date | no | default_order, warehouse_primary_key, contract_unique_key | Calendar date for transaction date (YYYY-MM-DD).名称推导 |
| 9 | transaction_type | LowCardinality(String) | string | no | filter, default_order, warehouse_primary_key, contract_unique_key | Source-normalized field: transaction type.名称推导 |
| 10 | acquisition_or_disposition | LowCardinality(String) | string | no | value | Source-normalized field: acquisition or disposition.名称推导 |
| 11 | direct_or_indirect | LowCardinality(String) | string | no | value | Source-normalized field: direct or indirect.名称推导 |
| 12 | security_name | String | string | no | default_order, warehouse_primary_key, contract_unique_key | Source-normalized field: security name.名称推导 |
| 13 | securities_transacted | Float64 | number | no | default_order, warehouse_primary_key, contract_unique_key | Source-normalized field: securities transacted.名称推导 |
| 14 | securities_owned | Float64 | number | no | value | Source-normalized field: securities owned.名称推导 |
| 15 | price | Float64 | number | no | default_order, warehouse_primary_key, contract_unique_key | Source-normalized field: price.名称推导 |
| 16 | source_url | String | string | no | provenance | URL of the upstream evidence or record when distributable.标准术语表 |
| 17 | source | LowCardinality(String) | string | no | filter, provenance | Normalized upstream source identifier.标准术语表 |
| 18 | provider | LowCardinality(String) | string | no | filter, provenance | Upstream data provider identifier.标准术语表 |
| 19 | parser_version | LowCardinality(String) | string | no | provenance | Version of the parser or normalizer that produced the row.标准术语表 |
| 20 | ingest_run_id | String | string | no | provenance | Identifier of the ingestion run that produced the row.标准术语表 |
| 21 | version_tsUTC_datetime | DateTime64(3, 'UTC') | string / date-time | no | provenance | UTC timestamp associated with the row version.标准术语表 |
| 22 | is_deleted | UInt8 | integer | no | value | Soft-delete marker; public serving excludes current tombstones.标准术语表 |
| 23 | created_atUTC_datetime | DateTime64(3, 'UTC') | string / date-time | no | value | UTC timestamp when the warehouse row was first created.标准术语表 |
换一个字段名、类型或角色。
结构来自 Friends 只读身份可见的真实 serving relation;权限、过滤、排序、PIT 与分页来自可执行 DatasetSpec。Schema observed at 2026-10-06T18:08:52Z。