WHAT IT ANSWERS
这张表适合回答什么
- 读取已完成的研究信号和市场状态
- 复盘信号随行情变化的结果
DATASET · research
research.sector_rotation_normalized_daily
这是已经产出的研究信号与市场状态中的“Daybreak 每日行业轮动”数据集;一行由 trade_date、sector 定位,主要字段包括 raw_count、unknown_count、soft_weight、rationale、coverage_status。
trade_dateWHAT IT ANSWERS
GRAIN & TIME
KEY FIELDS
trade_datesectorRECOMMENDED JOINS
ref.calendaron market + trade_date(有 market 时)需要计算交易日偏移时联接交易日历;无 market 字段时先确定适用市场。
HOW TO QUERY SAFELY
先用 catalog 确认当前契约;可按 catalog 中列出的 filters 进一步缩小范围;单页最多 5000 行,响应有 has_more 时原样传回 next_cursor 继续分页。
MACHINE CONTRACT
trade_date, sectortrade_date, sectorcanonical_final_activetrade_date→ trade_date · 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/research/sector_rotation_normalized_daily/rows?limit=100"from friends_data_api import FriendsDataClient, Settings
async with FriendsDataClient(Settings.from_env()) as client:
page = await client.get_dataset_rows('research', 'sector_rotation_normalized_daily', limit=100)
print(page.data)
if page.has_more:
print("next cursor:", page.next_cursor)friends-data get-dataset-rows research sector_rotation_normalized_daily --limit 100{
"arguments": {
"dataset": "sector_rotation_normalized_daily",
"filters": {},
"limit": 100,
"namespace": "research"
},
"tool": "get_dataset_rows"
}FIELD DICTIONARY
descriptionSource 可在 JSON 中区分仓库注释、标准术语表和名称推导说明。
| # | 字段 | ClickHouse 类型 | JSON | 可空 | 角色 | 说明 |
|---|---|---|---|---|---|---|
| 1 | trade_datedate | Date | string / date | no | time, filter, default_order, warehouse_primary_key, contract_unique_key | Trading-session date in the dataset's market calendar.标准术语表 |
| 2 | sector | LowCardinality(String) | string | no | default_order, warehouse_primary_key, contract_unique_key | Source-normalized field: sector.名称推导 |
| 3 | raw_count | UInt64 | integer | no | value | Count of raw count.名称推导 |
| 4 | unknown_count | UInt64 | integer | no | value | Count of unknown count.名称推导 |
| 5 | soft_weight | Float64 | number | no | value | Source-normalized field: soft weight.名称推导 |
| 6 | rationale | String | string | no | value | Source-normalized field: rationale.名称推导 |
| 7 | coverage_status | LowCardinality(String) | string | no | value | Source-normalized field: coverage status.名称推导 |
| 8 | regime_label | LowCardinality(String) | string | no | value | Source-normalized field: regime label.名称推导 |
| 9 | axes_json | String | string | no | value | Source-normalized field: axes json.名称推导 |
| 10 | status | LowCardinality(String) | string | no | value | Source-normalized field: status.名称推导 |
| 11 | producer_version | LowCardinality(String) | string | no | value | Source-normalized field: producer version.名称推导 |
| 12 | run_id | String | string | no | value | Identifier for run.名称推导 |
| 13 | version | UInt64 | integer | no | provenance | Monotonic row version used for correction-aware reads.标准术语表 |
| 14 | is_deleted | UInt8 | integer | no | value | Soft-delete marker; public serving excludes current tombstones.标准术语表 |
| 15 | 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。