WHAT IT ANSWERS
这张表适合回答什么
- 比较公司财务与分析师预期
- 构建基本面筛选和历史回测输入
DATASET · fundamental
fundamental.financials_global
这是财务报表、估值与分析师预期中的“全球统一财务报表”数据集;一行由 market、symbol、report_date、period 定位,主要字段包括 instrument_id、ann_date、filing_date、revenue、oper_cost。
report_dateWHAT IT ANSWERS
GRAIN & TIME
KEY FIELDS
marketsymbolreport_dateperiodsourceRECOMMENDED JOINS
ref.instrumenton instrument_id用 instrument_id 补充证券代码、名称、市场、交易所和资产类型。
HOW TO QUERY SAFELY
先用 catalog 确认当前契约;可按 catalog 中列出的 filters 进一步缩小范围;单页最多 5000 行,响应有 has_more 时原样传回 next_cursor 继续分页。
MACHINE CONTRACT
market, symbol, report_date, period, sourcemarket, symbol, report_date, period, sourcerelation_defaultinstrument_id→ instrument_id · integermarket→ market · stringperiod→ period · stringprovider→ provider · stringsource→ source · stringsymbol→ symbol · 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/fundamental/financials_global/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('fundamental', 'financials_global', limit=100, filters={'instrument_id': 1})
print(page.data)
if page.has_more:
print("next cursor:", page.next_cursor)friends-data get-dataset-rows fundamental financials_global --limit 100 --filter instrument_id=1{
"arguments": {
"dataset": "financials_global",
"filters": {
"instrument_id": 1
},
"limit": 100,
"namespace": "fundamental"
},
"tool": "get_dataset_rows"
}FIELD DICTIONARY
descriptionSource 可在 JSON 中区分仓库注释、标准术语表和名称推导说明。
| # | 字段 | ClickHouse 类型 | JSON | 可空 | 角色 | 说明 |
|---|---|---|---|---|---|---|
| 1 | instrument_id | Nullable(UInt64) | integer | yes | filter | WarrenHub canonical instrument identifier; use it for cross-dataset joins.标准术语表 |
| 2 | symbol | String | string | no | filter, default_order, contract_unique_key | Display or trading symbol for the instrument.标准术语表 |
| 3 | market | LowCardinality(String) | string | no | filter, default_order, contract_unique_key | Canonical market or country-market code.标准术语表 |
| 4 | report_datedate | Date | string / date | no | time, default_order, contract_unique_key | Reporting-period or statement date.标准术语表 |
| 5 | period | LowCardinality(String) | string | no | filter, default_order, contract_unique_key | Reporting or observation period label.标准术语表 |
| 6 | ann_datedate | Date | string / date | no | value | Announcement date.标准术语表 |
| 7 | filing_datedate | Nullable(Date) | string / date | yes | value | Date on which the filing was submitted or published.标准术语表 |
| 8 | revenue | Nullable(Float64) | number | yes | value | Source-normalized field: revenue.名称推导 |
| 9 | oper_cost | Nullable(Float64) | number | yes | value | Source-normalized field: oper cost.名称推导 |
| 10 | gross_profit | Nullable(Float64) | number | yes | value | Source-normalized field: gross profit.名称推导 |
| 11 | operate_profit | Nullable(Float64) | number | yes | value | Source-normalized field: operate profit.名称推导 |
| 12 | total_profit | Nullable(Float64) | number | yes | value | Source-normalized field: total profit.名称推导 |
| 13 | net_profit | Nullable(Float64) | number | yes | value | Source-normalized field: net profit.名称推导 |
| 14 | basic_eps | Nullable(Float64) | number | yes | value | Source-normalized field: basic eps.名称推导 |
| 15 | diluted_eps | Nullable(Float64) | number | yes | value | Source-normalized field: diluted eps.名称推导 |
| 16 | total_assets | Nullable(Float64) | number | yes | value | Source-normalized field: total assets.名称推导 |
| 17 | total_liab | Nullable(Float64) | number | yes | value | Source-normalized field: total liab.名称推导 |
| 18 | total_equity | Nullable(Float64) | number | yes | value | Source-normalized field: total equity.名称推导 |
| 19 | money_cap | Nullable(Float64) | number | yes | value | Source-normalized field: money cap.名称推导 |
| 20 | accounts_receiv | Nullable(Float64) | number | yes | value | Source-normalized field: accounts receiv.名称推导 |
| 21 | inventories | Nullable(Float64) | number | yes | value | Source-normalized field: inventories.名称推导 |
| 22 | fix_assets | Nullable(Float64) | number | yes | value | Source-normalized field: fix assets.名称推导 |
| 23 | intan_assets | Nullable(Float64) | number | yes | value | Source-normalized field: intan assets.名称推导 |
| 24 | goodwill | Nullable(Float64) | number | yes | value | Source-normalized field: goodwill.名称推导 |
| 25 | net_oper_cf | Nullable(Float64) | number | yes | value | Source-normalized field: net oper cf.名称推导 |
| 26 | net_invest_cf | Nullable(Float64) | number | yes | value | Source-normalized field: net invest cf.名称推导 |
| 27 | net_fin_cf | Nullable(Float64) | number | yes | value | Source-normalized field: net fin cf.名称推导 |
| 28 | cash_end | Nullable(Float64) | number | yes | value | Source-normalized field: cash end.名称推导 |
| 29 | cash_begin | Nullable(Float64) | number | yes | value | Source-normalized field: cash begin.名称推导 |
| 30 | capex | Nullable(Float64) | number | yes | value | Source-normalized field: capex.名称推导 |
| 31 | free_cashflow | Nullable(Float64) | number | yes | value | Source-normalized field: free cashflow.名称推导 |
| 32 | source | LowCardinality(String) | string | no | filter, default_order, contract_unique_key, provenance | Normalized upstream source identifier.标准术语表 |
| 33 | provider | LowCardinality(String) | string | no | filter, provenance | Upstream data provider identifier.标准术语表 |
换一个字段名、类型或角色。
结构来自 Friends 只读身份可见的真实 serving relation;权限、过滤、排序、PIT 与分页来自可执行 DatasetSpec。Schema observed at 2026-10-06T18:08:52Z。