WHAT IT ANSWERS
这张表适合回答什么
- 解析证券与来源标识映射
- 为跨表查询补充分类和主数据
DATASET · ref
ref.instrument_overview_massive
这是证券主数据、交易日历与跨来源映射中的“Massive 证券概览”数据集;一行由 ticker、source 定位,主要字段包括 name、market、locale、primary_exchange、type。
publish_tsWHAT IT ANSWERS
GRAIN & TIME
KEY FIELDS
tickersourceRECOMMENDED JOINS
该表主要按自身业务键使用,目前没有推荐的跨表主键联接。
HOW TO QUERY SAFELY
先用 catalog 确认当前契约;可按 catalog 中列出的 filters 进一步缩小范围;单页最多 5000 行,响应有 has_more 时原样传回 next_cursor 继续分页。
MACHINE CONTRACT
ticker, sourceticker, sourcecanonical_final_activecik→ cik · stringmarket→ market · stringprovider→ provider · stringsource→ source · stringticker→ ticker · 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/ref/instrument_overview_massive/rows?limit=100&cik=0000320193"from friends_data_api import FriendsDataClient, Settings
async with FriendsDataClient(Settings.from_env()) as client:
page = await client.get_dataset_rows('ref', 'instrument_overview_massive', limit=100, filters={'cik': '0000320193'})
print(page.data)
if page.has_more:
print("next cursor:", page.next_cursor)friends-data get-dataset-rows ref instrument_overview_massive --limit 100 --filter cik=0000320193{
"arguments": {
"dataset": "instrument_overview_massive",
"filters": {
"cik": "0000320193"
},
"limit": 100,
"namespace": "ref"
},
"tool": "get_dataset_rows"
}FIELD DICTIONARY
descriptionSource 可在 JSON 中区分仓库注释、标准术语表和名称推导说明。
| # | 字段 | ClickHouse 类型 | JSON | 可空 | 角色 | 说明 |
|---|---|---|---|---|---|---|
| 1 | ticker | String | string | no | filter, default_order, warehouse_primary_key, contract_unique_key | Ticker symbol reported by the source or mapped security master.标准术语表 |
| 2 | name | Nullable(String) | string | yes | value | Canonical human-readable name.标准术语表 |
| 3 | market | LowCardinality(String) | string | no | filter | Canonical market or country-market code.标准术语表 |
| 4 | locale | LowCardinality(String) | string | no | value | Source-normalized field: locale.名称推导 |
| 5 | primary_exchange | LowCardinality(String) | string | no | value | Source-normalized field: primary exchange.名称推导 |
| 6 | type | LowCardinality(String) | string | no | value | Source-normalized field: type.名称推导 |
| 7 | active | UInt8 | integer | no | value | Source-normalized field: active.名称推导 |
| 8 | currency_name | LowCardinality(String) | string | no | value | Source-normalized field: currency name.名称推导 |
| 9 | cik | Nullable(String) | string | yes | filter | SEC Central Index Key identifying the filer.标准术语表 |
| 10 | composite_figi | Nullable(String) | string | yes | value | Source-normalized field: composite figi.名称推导 |
| 11 | share_class_figi | Nullable(String) | string | yes | value | Source-normalized field: share class figi.名称推导 |
| 12 | market_cap | Nullable(Float64) | number | yes | value | Source-normalized field: market cap.名称推导 |
| 13 | phone_number | Nullable(String) | string | yes | value | Source-normalized field: phone number.名称推导 |
| 14 | address1 | Nullable(String) | string | yes | value | Source-normalized field: address1.名称推导 |
| 15 | city | Nullable(String) | string | yes | value | Source-normalized field: city.名称推导 |
| 16 | state | LowCardinality(String) | string | no | value | Source-normalized field: state.名称推导 |
| 17 | postal_code | Nullable(String) | string | yes | value | Source-normalized field: postal code.名称推导 |
| 18 | description | Nullable(String) | string | yes | value | Human-readable description supplied or normalized from the source.标准术语表 |
| 19 | sic_code | LowCardinality(String) | string | no | value | Source-normalized field: sic code.名称推导 |
| 20 | sic_description | Nullable(String) | string | yes | value | Source-normalized field: sic description.名称推导 |
| 21 | ticker_root | Nullable(String) | string | yes | value | Source-normalized field: ticker root.名称推导 |
| 22 | homepage_url | Nullable(String) | string | yes | value | Source-normalized field: homepage url.名称推导 |
| 23 | total_employees | Nullable(UInt32) | integer | yes | value | Source-normalized field: total employees.名称推导 |
| 24 | list_datedate | Nullable(Date) | string / date | yes | value | Calendar date for list date (YYYY-MM-DD).名称推导 |
| 25 | branding_logo_url | Nullable(String) | string | yes | value | Source-normalized field: branding logo url.名称推导 |
| 26 | branding_icon_url | Nullable(String) | string | yes | value | Source-normalized field: branding icon url.名称推导 |
| 27 | share_class_shares_outstanding | Nullable(UInt64) | integer | yes | value | Source-normalized field: share class shares outstanding.名称推导 |
| 28 | weighted_shares_outstanding | Nullable(UInt64) | integer | yes | value | Source-normalized field: weighted shares outstanding.名称推导 |
| 29 | round_lot | Nullable(UInt32) | integer | yes | value | Source-normalized field: round lot.名称推导 |
| 30 | publish_tsUTC_datetime | DateTime64(3, 'UTC') | string / date-time | no | time, provenance | UTC point-in-time availability timestamp used by PIT reads.标准术语表 |
| 31 | source_tsUTC_datetime | DateTime64(3, 'UTC') | string / date-time | no | provenance | Timestamp asserted by the upstream source.标准术语表 |
| 32 | ingested_atUTC_datetime | DateTime64(3, 'UTC') | string / date-time | no | provenance | UTC timestamp when the source record entered the warehouse.标准术语表 |
| 33 | source | LowCardinality(String) | string | no | filter, default_order, warehouse_primary_key, contract_unique_key, provenance | Normalized upstream source identifier.标准术语表 |
| 34 | provider | LowCardinality(String) | string | no | filter, provenance | Upstream data provider identifier.标准术语表 |
| 35 | source_url | String | string | no | provenance | URL of the upstream evidence or record when distributable.标准术语表 |
| 36 | source_record_id | String | string | no | provenance | Provider-side identifier for the source record.标准术语表 |
| 37 | raw_payload_hash | String | string | no | provenance | Opaque fingerprint of the normalized source payload for provenance checks.标准术语表 |
| 38 | parser_version | LowCardinality(String) | string | no | provenance | Version of the parser or normalizer that produced the row.标准术语表 |
| 39 | quality_status | LowCardinality(String) | string | no | provenance | Machine-readable data-quality classification.标准术语表 |
| 40 | license_scope | LowCardinality(String) | string | no | provenance | License or redistribution scope attached to the row.标准术语表 |
| 41 | visibility_tier | LowCardinality(String) | string | no | provenance | Serving visibility tier attached to the row.标准术语表 |
| 42 | ingest_run_id | String | string | no | provenance | Identifier of the ingestion run that produced the row.标准术语表 |
| 43 | version | UInt64 | integer | no | provenance | Monotonic row version used for correction-aware reads.标准术语表 |
| 44 | version_tsUTC_datetime | DateTime64(3, 'UTC') | string / date-time | no | provenance | UTC timestamp associated with the row version.标准术语表 |
| 45 | is_deleted | UInt8 | integer | no | value | Soft-delete marker; public serving excludes current tombstones.标准术语表 |
| 46 | created_atUTC_datetime | DateTime64(3, 'UTC') | string / date-time | no | value | UTC timestamp when the warehouse row was first created.标准术语表 |
| 47 | updated_atUTC_datetime | DateTime64(3, 'UTC') | string / date-time | no | value | UTC timestamp when the warehouse row was last updated.标准术语表 |
换一个字段名、类型或角色。
结构来自 Friends 只读身份可见的真实 serving relation;权限、过滤、排序、PIT 与分页来自可执行 DatasetSpec。Schema observed at 2026-10-06T18:08:52Z。