WHAT IT ANSWERS
这张表适合回答什么
- 查询历史或盘中价格与成交
- 构建行情、波动率和衍生品特征
DATASET · market
market.rt_option_premove_flow
汇总标的发生价格异动前的近期权成交、扫单和权利金,用于研究期权流是否领先股价;一行由 session_date、underlying、right 定位,主要字段包括 near_term_contracts、buy_contracts、sweep_prints、notional_premium、und_session_open;交易时段持续更新。
—WHAT IT ANSWERS
GRAIN & TIME
KEY FIELDS
session_dateunderlyingrightRECOMMENDED JOINS
该表主要按自身业务键使用,目前没有推荐的跨表主键联接。
HOW TO QUERY SAFELY
先用 catalog 确认当前契约;必须提供 underlying;单页最多 5000 行,响应有 has_more 时原样传回 next_cursor 继续分页。
MACHINE CONTRACT
session_date, underlying, rightsession_date, underlying, rightrelation_defaultright→ right · stringunderlying→ underlying · string · 必填POINT 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/market/rt_option_premove_flow/rows?limit=100&underlying=FILTER_VALUE"from friends_data_api import FriendsDataClient, Settings
async with FriendsDataClient(Settings.from_env()) as client:
page = await client.get_dataset_rows('market', 'rt_option_premove_flow', limit=100, filters={'underlying': 'FILTER_VALUE'})
print(page.data)
if page.has_more:
print("next cursor:", page.next_cursor)friends-data get-dataset-rows market rt_option_premove_flow --limit 100 --filter underlying=FILTER_VALUE{
"arguments": {
"dataset": "rt_option_premove_flow",
"filters": {
"underlying": "FILTER_VALUE"
},
"limit": 100,
"namespace": "market"
},
"tool": "get_dataset_rows"
}FIELD DICTIONARY
descriptionSource 可在 JSON 中区分仓库注释、标准术语表和名称推导说明。
| # | 字段 | ClickHouse 类型 | JSON | 可空 | 角色 | 说明 |
|---|---|---|---|---|---|---|
| 1 | underlying | LowCardinality(String) | string | no | filter, required_filter, default_order, contract_unique_key | Source-normalized field: underlying.名称推导 |
| 2 | right | Enum8('C' = 1, 'P' = 2) | string | no | filter, default_order, contract_unique_key | Source-normalized field: right.名称推导 |
| 3 | session_datedate | Date | string / date | no | default_order, contract_unique_key | Calendar date for session date (YYYY-MM-DD).名称推导 |
| 4 | near_term_contracts | UInt64 | integer | no | value | Source-normalized field: near term contracts.名称推导 |
| 5 | buy_contracts | UInt64 | integer | no | value | Source-normalized field: buy contracts.名称推导 |
| 6 | sweep_prints | UInt64 | integer | no | value | Source-normalized field: sweep prints.名称推导 |
| 7 | notional_premium | Float64 | number | no | value | Source-normalized field: notional premium.名称推导 |
| 8 | und_session_open | Float64 | number | no | value | Source-normalized field: und session open.名称推导 |
| 9 | und_last_price | Float64 | number | no | value | Price value for und last price.名称推导 |
| 10 | underlying_move_pctpercent | Nullable(Float64) | number | yes | value | Percentage value for underlying move pct.名称推导 |
| 11 | buy_share | Nullable(Float64) | number | yes | value | Source-normalized field: buy share.名称推导 |
换一个字段名、类型或角色。
结构来自 Friends 只读身份可见的真实 serving relation;权限、过滤、排序、PIT 与分页来自可执行 DatasetSpec。Schema observed at 2026-10-06T18:08:52Z。