WHAT IT ANSWERS
这张表适合回答什么
- 评估隔夜扫描命中率
- 比较开盘与收盘延续
- 只筛选 outcome_filled 的成熟样本
DATASET · market
market.overnight_continuation
为隔夜扫描结果补充下一常规交易时段的开盘和收盘收益,标记结果是否已完成回填。
session_dateWHAT IT ANSWERS
GRAIN & TIME
KEY FIELDS
venuesession_datesymbolRECOMMENDED JOINS
ref.instrumenton instrument_id用 instrument_id 补充证券代码、名称、市场、交易所和资产类型。
HOW TO QUERY SAFELY
先用 catalog 确认当前契约;可按 catalog 中列出的 filters 进一步缩小范围;单页最多 5000 行,该表不提供稳定 cursor,结果过大时必须缩小标的、日期或其他筛选。
MACHINE CONTRACT
session_date, venue, symbol—canonical_final_activecap_bucket→ cap_bucket · stringinstrument_id→ instrument_id · integeris_candidate→ is_candidate · integeroutcome_filled→ outcome_filled · integersymbol→ symbol · stringvenue→ venue · 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/market/overnight_continuation/rows?limit=100&instrument_id=1&start=2026-08-01&end=2026-08-01"from friends_data_api import FriendsDataClient, Settings
async with FriendsDataClient(Settings.from_env()) as client:
page = await client.get_dataset_rows('market', 'overnight_continuation', limit=100, start='2026-08-01', end='2026-08-01', filters={'instrument_id': 1})
print(page.data)
if page.has_more:
print("next cursor:", page.next_cursor)friends-data get-dataset-rows market overnight_continuation --limit 100 --start 2026-08-01 --end 2026-08-01 --filter instrument_id=1{
"arguments": {
"dataset": "overnight_continuation",
"end": "2026-08-01",
"filters": {
"instrument_id": 1
},
"limit": 100,
"namespace": "market",
"start": "2026-08-01"
},
"tool": "get_dataset_rows"
}FIELD DICTIONARY
descriptionSource 可在 JSON 中区分仓库注释、标准术语表和名称推导说明。
| # | 字段 | ClickHouse 类型 | JSON | 可空 | 角色 | 说明 |
|---|---|---|---|---|---|---|
| 1 | session_datedate | Date | string / date | no | time, default_order, warehouse_primary_key | Calendar date for session date (YYYY-MM-DD).名称推导 |
| 2 | symbol | LowCardinality(String) | string | no | filter, default_order, warehouse_primary_key | Display or trading symbol for the instrument.标准术语表 |
| 3 | instrument_id | UInt64 | integer | no | filter | WarrenHub canonical instrument identifier; use it for cross-dataset joins.标准术语表 |
| 4 | asset_type | LowCardinality(String) | string | no | value | Instrument asset-class classification.标准术语表 |
| 5 | cap_bucket | LowCardinality(String) | string | no | filter | Source-normalized field: cap bucket.名称推导 |
| 6 | watch_tag | LowCardinality(String) | string | no | value | Source-normalized field: watch tag.名称推导 |
| 7 | is_candidate | UInt8 | integer | no | filter | Whether candidate applies to the row.名称推导 |
| 8 | prev_close | Float64 | number | no | value | Source-normalized field: prev close.名称推导 |
| 9 | on_close | Float64 | number | no | value | Source-normalized field: on close.名称推导 |
| 10 | on_ret | Float64 | number | no | value | Source-normalized field: on ret.名称推导 |
| 11 | gap | Float64 | number | no | value | Source-normalized field: gap.名称推导 |
| 12 | dollar_vol | Float64 | number | no | value | Source-normalized field: dollar vol.名称推导 |
| 13 | n_bars | UInt32 | integer | no | value | Count of bars.名称推导 |
| 14 | next_rth_open | Float64 | number | no | value | Source-normalized field: next rth open.名称推导 |
| 15 | next_rth_close | Float64 | number | no | value | Source-normalized field: next rth close.名称推导 |
| 16 | next_rth_ret | Float64 | number | no | value | Source-normalized field: next rth ret.名称推导 |
| 17 | continuation_ret | Float64 | number | no | value | Source-normalized field: continuation ret.名称推导 |
| 18 | continued | UInt8 | integer | no | value | Source-normalized field: continued.名称推导 |
| 19 | outcome_filled | UInt8 | integer | no | filter | Source-normalized field: outcome filled.名称推导 |
| 20 | venue | LowCardinality(String) | string | no | filter, default_order, warehouse_primary_key | Source-normalized field: venue.名称推导 |
| 21 | version | UInt64 | integer | no | provenance | Monotonic row version used for correction-aware reads.标准术语表 |
| 22 | is_deleted | UInt8 | integer | no | value | Soft-delete marker; public serving excludes current tombstones.标准术语表 |
| 23 | ingested_atUTC_datetime | DateTime64(3, 'UTC') | string / date-time | no | provenance | UTC timestamp when the source record entered the warehouse.标准术语表 |
换一个字段名、类型或角色。
结构来自 Friends 只读身份可见的真实 serving relation;权限、过滤、排序、PIT 与分页来自可执行 DatasetSpec。Schema observed at 2026-10-06T18:08:52Z。