Friends Data API独立数据服务

DATASET · research

Squeeze 纸面交易账本

research.squeeze_paper_ledger
研究成品

保存机械化逼空策略的纸面进出场、基准调整净超额收益和 gauntlet 结论,用于验证策略而非实盘成交。

字段63
关键字段3
更新口径producer_schedule
时间列entry_date
单页上限5000
分页窄筛选
PIT不支持
规模10K-99K

WHAT IT ANSWERS

这张表适合回答什么

  • 评估 squeeze 纸面策略
  • 查看单笔净超额收益
  • 按 gauntlet verdict 分组比较

GRAIN & TIME

一行代表什么

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

KEY FIELDS

先看这些字段

entry_date
entry date 对应的日历日期。
cell_id
用于识别 cell 的业务标识。
instrument_id
WarrenHub 统一证券标识;跨证券数据集优先用它联接。

RECOMMENDED JOINS

怎样和其他表关联

ref.instrumenton instrument_id

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

HOW TO QUERY SAFELY

查询方法与已知限制

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

MACHINE CONTRACT

筛选、排序与分页

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

可用 filters

catalyst→ catalyst · string
cell_id→ cell_id · string
gauntlet_verdict→ gauntlet_verdict · string
instrument_id→ instrument_id · integer
outcome_status→ outcome_status · string
side→ side · string
ticker→ ticker · 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/squeeze_paper_ledger/rows?limit=100&instrument_id=1&start=2026-08-01&end=2026-08-01"

FIELD DICTIONARY

63 个返回字段

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

#字段ClickHouse 类型JSON可空角色说明
1catalystLowCardinality(String)stringnofilter, warehouse_primary_keySource-normalized field: catalyst.名称推导
2cell_idLowCardinality(String)stringnofilter, default_order, warehouse_primary_keyIdentifier for cell.名称推导
3instrument_idUInt64integernofilter, default_order, warehouse_primary_keyWarrenHub canonical instrument identifier; use it for cross-dataset joins.标准术语表
4tickerStringstringnofilterTicker symbol reported by the source or mapped security master.标准术语表
5formation_datedateDatestring / datenowarehouse_primary_keyCalendar date for formation date (YYYY-MM-DD).名称推导
6feature_available_tsUTC_datetimeDateTime64(3, 'UTC')string / date-timenovalueUTC timestamp for feature available ts.名称推导
7sideLowCardinality(String)stringnofilterSource-normalized field: side.名称推导
8vehicleLowCardinality(String)stringnovalueSource-normalized field: vehicle.名称推导
9horizon_daysUInt16integernovalueSource-normalized field: horizon days.名称推导
10entry_datedateDatestring / datenotime, default_orderCalendar date for entry date (YYYY-MM-DD).名称推导
11entry_tsUTC_datetimeNullable(DateTime64(3, 'UTC'))string / date-timeyesvalueUTC timestamp for entry ts.名称推导
12entry_pxFloat64numbernovalueSource-normalized field: entry px.名称推导
13mechanical_exit_datedateDatestring / datenovalueCalendar date for mechanical exit date (YYYY-MM-DD).名称推导
14scoreFloat64numbernovalueSource-normalized field: score.名称推导
15rank_in_cohortUInt16integernovalueSource-normalized field: rank in cohort.名称推导
16benchmarkLowCardinality(String)stringnovalueSource-normalized field: benchmark.名称推导
17benchmark_instrument_idUInt64integernovalueIdentifier for benchmark instrument.名称推导
18cost_bpsbasis_pointsFloat64numbernovalueBasis-point value for cost bps.名称推导
19stop_priceFloat64numbernovaluePrice value for stop price.名称推导
20target_priceFloat64numbernovaluePrice value for target price.名称推导
21position_qtyFloat64numbernovalueSource-normalized field: position qty.名称推导
22remaining_qtyFloat64numbernovalueSource-normalized field: remaining qty.名称推导
23realized_gross_returnFloat64numbernovalueSource-normalized field: realized gross return.名称推导
24realized_net_excess_returnFloat64numbernovalueSource-normalized field: realized net excess return.名称推导
25last_exit_qtyFloat64numbernovalueSource-normalized field: last exit qty.名称推导
26last_exit_reasonLowCardinality(String)stringnovalueSource-normalized field: last exit reason.名称推导
27promotion_contract_idStringstringnovalueIdentifier for promotion contract.名称推导
28promotion_contract_manifest_hashStringstringnovalueSource-normalized field: promotion contract manifest hash.名称推导
29promotion_provider_idStringstringnovalueIdentifier for promotion provider.名称推导
30promotion_hypothesis_idStringstringnovalueIdentifier for promotion hypothesis.名称推导
31promotion_hypothesis_versionStringstringnovalueSource-normalized field: promotion hypothesis version.名称推导
32decision_intent_idStringstringnovalueIdentifier for decision intent.名称推导
33cohort_idStringstringnovalueIdentifier for cohort.名称推导
34cohort_manifest_payload_hashStringstringnovalueSource-normalized field: cohort manifest payload hash.名称推导
35intent_payload_hashStringstringnovalueSource-normalized field: intent payload hash.名称推导
36fill_terminal_payload_hashStringstringnovalueSource-normalized field: fill terminal payload hash.名称推导
37settlement_terminal_payload_hashStringstringnovalueSource-normalized field: settlement terminal payload hash.名称推导
38source_snapshot_hashStringstringnovalueSource-normalized field: source snapshot hash.名称推导
39decision_available_atUTC_datetimeNullable(DateTime64(3, 'UTC'))string / date-timeyesvalueUTC timestamp for decision available at.名称推导
40fill_observed_atUTC_datetimeNullable(DateTime64(3, 'UTC'))string / date-timeyesvalueUTC timestamp for fill observed at.名称推导
41benchmark_entry_tsUTC_datetimeNullable(DateTime64(3, 'UTC'))string / date-timeyesvalueUTC timestamp for benchmark entry ts.名称推导
42benchmark_entry_pxNullable(Float64)numberyesvalueSource-normalized field: benchmark entry px.名称推导
43benchmark_fill_observed_atUTC_datetimeNullable(DateTime64(3, 'UTC'))string / date-timeyesvalueUTC timestamp for benchmark fill observed at.名称推导
44calendar_idStringstringnovalueIdentifier for calendar.名称推导
45calendar_source_manifest_sha256StringstringnovalueSource-normalized field: calendar source manifest sha256.名称推导
46calendar_source_sha256StringstringnovalueSource-normalized field: calendar source sha256.名称推导
47calendar_dataset_sha256StringstringnovalueSource-normalized field: calendar dataset sha256.名称推导
48settlement_policy_idStringstringnovalueIdentifier for settlement policy.名称推导
49entry_session_indexNullable(Int64)integeryesvalueSource-normalized field: entry session index.名称推导
50exit_session_indexNullable(Int64)integeryesvalueSource-normalized field: exit session index.名称推导
51settlement_observed_atUTC_datetimeNullable(DateTime64(3, 'UTC'))string / date-timeyesvalueUTC timestamp for settlement observed at.名称推导
52last_exit_incident_idStringstringnovalueIdentifier for last exit incident.名称推导
53exit_pxNullable(Float64)numberyesvalueSource-normalized field: exit px.名称推导
54gross_returnNullable(Float64)numberyesvalueSource-normalized field: gross return.名称推导
55benchmark_returnNullable(Float64)numberyesvalueSource-normalized field: benchmark return.名称推导
56net_excess_returnNullable(Float64)numberyesvalueSource-normalized field: net excess return.名称推导
57outcome_statusLowCardinality(String)stringnofilterSource-normalized field: outcome status.名称推导
58run_idStringstringnovalueIdentifier for run.名称推导
59gauntlet_verdictLowCardinality(String)stringnofilterSource-normalized field: gauntlet verdict.名称推导
60sourceLowCardinality(String)stringnoprovenanceNormalized upstream source identifier.标准术语表
61versionUInt64integernoprovenanceMonotonic row version used for correction-aware reads.标准术语表
62version_tsUTC_datetimeDateTime64(3, 'UTC')string / date-timenoprovenanceUTC timestamp associated with the row version.标准术语表
63is_deletedUInt8integernovalueSoft-delete marker; public serving excludes current tombstones.标准术语表
字典口径

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