Friends Data API独立数据服务

DATASET · research

Daybreak 当日可执行 Calls

research.daybreak_calls_served
研究成品

实时展示 judge 产生的可执行 Call 及纸面持仓状态、进出场、净超额收益、置信闸门和当时上下文。

字段39
关键字段3
更新口径producer_schedule
时间列trade_date
单页上限5000
分页窄筛选
PIT不支持
规模view

WHAT IT ANSWERS

这张表适合回答什么

  • 查看同日最新可执行判断
  • 跟踪 paper position 生命周期
  • 检查置信闸门与板块约束

GRAIN & TIME

一行代表什么

业务粒度
每行代表“Daybreak 当日可执行 Calls”的一条记录;逻辑粒度由 trade_date × instrument_id × direction 共同确定。
时间口径
以 trade_date 为主要查询时间轴;除下方限制特别说明外,时间戳按 UTC、日期按来源市场日历解释。
更新节奏
由对应生产任务或事件触发更新,不承诺固定日历频率;查询前先检查最新时间。

KEY FIELDS

先看这些字段

trade_date
对应市场日历中的交易日。
instrument_id
WarrenHub 统一证券标识;跨证券数据集优先用它联接。
direction
用于确定该表业务粒度或默认顺序的 direction 字段。

RECOMMENDED JOINS

怎样和其他表关联

ref.instrumenton instrument_id

用 instrument_id 补充证券代码、名称、市场、交易所和资产类型。

ref.calendaron market + trade_date(有 market 时)

需要计算交易日偏移时联接交易日历;无 market 字段时先确定适用市场。

HOW TO QUERY SAFELY

查询方法与已知限制

先用 catalog 确认当前契约;可按 catalog 中列出的 filters 进一步缩小范围;单页最多 5000 行,该表不提供稳定 cursor,结果过大时必须缩小标的、日期或其他筛选。

MACHINE CONTRACT

筛选、排序与分页

UNVERSIONED
默认排序
trade_date, instrument_id, direction
唯一键
—
读取模式
relation_default
最大时间窗
未单独限制

可用 filters

call_id→ call_id · string
cap_bucket→ cap_bucket · string
code→ code · string
conviction_suppressed→ conviction_suppressed · integer
data_stale→ data_stale · integer
direction→ direction · string
gate_passed→ gate_passed · integer
instrument_id→ instrument_id · integer
position_status→ position_status · string
prompt_ver→ prompt_ver · string

POINT IN TIME

可复现读取

NOT AVAILABLE

该资产没有 PIT 契约。普通 rows 端点仍按当前公开读模式返回数据;不要把它表述成历史时点快照。

COPY-READY CALLS

怎么调用

同一数据集可用 HTTP、Python SDK、CLI 或 MCP;Key 始终只通过环境变量/Bearer Header 传递。

READ ONLY
HTTP
curl --fail-with-body -H "Authorization: Bearer $FRIENDS_DATA_API_KEY" "https://api.alphahubs.uk/api/v1/data/datasets/research/daybreak_calls_served/rows?limit=100&code=AAPL&start=2026-08-01&end=2026-08-01"

FIELD DICTIONARY

39 个返回字段

descriptionSource 可在 JSON 中区分仓库注释、标准术语表和名称推导说明。

#字段ClickHouse 类型JSON可空角色说明
1call_idStringstringnofilterIdentifier for call.名称推导
2instrument_idUInt64integernofilter, default_orderWarrenHub canonical instrument identifier; use it for cross-dataset joins.标准术语表
3codeLowCardinality(String)stringnofilterSource-normalized security or contract code.标准术语表
4trade_datedateDatestring / datenotime, default_orderTrading-session date in the dataset's market calendar.标准术语表
5directionLowCardinality(String)stringnofilter, default_orderSource-normalized field: direction.名称推导
6confidenceFloat64numbernovalueSource-normalized field: confidence.名称推导
7target_priceFloat64numbernovaluePrice value for target price.名称推导
8stop_priceFloat64numbernovaluePrice value for stop price.名称推导
9horizon_daysUInt16integernovalueSource-normalized field: horizon days.名称推导
10vehicleLowCardinality(String)stringnovalueSource-normalized field: vehicle.名称推导
11date_window_startDatestring / datenovalueSource-normalized field: date window start.名称推导
12date_window_endDatestring / datenovalueSource-normalized field: date window end.名称推导
13invalidation_conditionStringstringnovalueSource-normalized field: invalidation condition.名称推导
14evidence_jsonStringstringnovalueSource-normalized field: evidence json.名称推导
15prompt_verLowCardinality(String)stringnofilterSource-normalized field: prompt ver.名称推导
16computed_atUTC_datetimeDateTime64(3, 'UTC')string / date-timenovalueUTC timestamp for computed at.名称推导
17served_basisStringstringnovalueSource-normalized field: served basis.名称推导
18gate_passedUInt8integernofilterSource-normalized field: gate passed.名称推导
19conviction_suppressedUInt8integernofilterSource-normalized field: conviction suppressed.名称推导
20data_staleUInt8integernofilterSource-normalized field: data stale.名称推导
21stale_hoursNullable(Float64)numberyesvalueSource-normalized field: stale hours.名称推导
22claude_verdictLowCardinality(String)stringnovalueSource-normalized field: claude verdict.名称推导
23claude_articleStringstringnovalueSource-normalized field: claude article.名称推导
24cap_bucketLowCardinality(String)stringnofilterSource-normalized field: cap bucket.名称推导
25sectorLowCardinality(String)stringnovalueSource-normalized field: sector.名称推导
26industryLowCardinality(String)stringnovalueSource-normalized field: industry.名称推导
27intensity_scoreFloat64numbernovalueSource-normalized field: intensity score.名称推导
28conviction_concentrationFloat64numbernovalueSource-normalized field: conviction concentration.名称推导
29conviction_long_v2Nullable(Float64)numberyesvalueSource-normalized field: conviction long v2.名称推导
30conviction_short_v2Nullable(Float64)numberyesvalueSource-normalized field: conviction short v2.名称推导
31n_slots_long_v2UInt16integernovalueCount of slots long v2.名称推导
32n_slots_short_v2UInt16integernovalueCount of slots short v2.名称推导
33conviction_direction_v2LowCardinality(String)stringnovalueSource-normalized field: conviction direction v2.名称推导
34entry_datedateDatestring / datenovalueCalendar date for entry date (YYYY-MM-DD).名称推导
35entry_pxFloat64numbernovalueSource-normalized field: entry px.名称推导
36exit_pxNullable(Float64)numberyesvalueSource-normalized field: exit px.名称推导
37net_excess_returnNullable(Float64)numberyesvalueSource-normalized field: net excess return.名称推导
38position_statusLowCardinality(String)stringnofilterSource-normalized field: position status.名称推导
39book_run_idStringstringnovalueIdentifier for book run.名称推导
字典口径

结构来自 Friends 只读身份可见的真实 serving relation;权限、过滤、排序、PIT 与分页来自可执行 DatasetSpec。Schema observed at 2026-10-06T18:08:52Z。