Friends Data API独立数据服务

DATASET · market

ThetaData 美股期权日终面板

market.option_eod_theta
价格与行情期权与波动率

按标的、到期日、行权价、期权类型和交易日记录 Greeks、隐含波动率、未平仓量等日终数据。

字段33
关键字段6
更新口径daily
时间列trade_date
单页上限50000
分页Cursor
PIT不支持
规模100M-999M

WHAT IT ANSWERS

这张表适合回答什么

  • 构建每日期权曲面
  • 分析 skew 与期限结构
  • 计算个股期权流动性和持仓特征

GRAIN & TIME

一行代表什么

业务粒度
每行代表“ThetaData 美股期权日终面板”的一条记录;逻辑粒度由 underlying_code × expiration_date × strike_price × option_type × trade_date 共同确定。
时间口径
以 trade_date 为主要查询时间轴;除下方限制特别说明外,时间戳按 UTC、日期按来源市场日历解释。
更新节奏
通常按交易日或自然日更新;具体最新日期请以返回数据为准。

KEY FIELDS

先看这些字段

underlying_code
用于确定该表业务粒度或默认顺序的 underlying code 字段。
expiration_date
expiration date 对应的日历日期。
strike_price
用于确定该表业务粒度或默认顺序的 strike price 字段。
option_type
用于确定该表业务粒度或默认顺序的 option type 字段。
trade_date
对应市场日历中的交易日。
underlying_instrument_id
用于识别 underlying instrument 的业务标识。

RECOMMENDED JOINS

怎样和其他表关联

ref.calendaron market + trade_date(有 market 时)

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

HOW TO QUERY SAFELY

查询方法与已知限制

先用 catalog 确认当前契约;可按 catalog 中列出的 filters 进一步缩小范围;单页最多 50000 行,响应有 has_more 时原样传回 next_cursor 继续分页。

MACHINE CONTRACT

筛选、排序与分页

UNVERSIONED
默认排序
underlying_instrument_id, trade_date, expiration_date, strike_price, option_type, root
唯一键
underlying_instrument_id, trade_date, expiration_date, strike_price, option_type, root
读取模式
canonical_final_active
最大时间窗
未单独限制

可用 filters

expiration_date→ expiration_date · string
option_type→ option_type · string
root→ root · string
underlying_code→ underlying_code · string
underlying_instrument_id→ underlying_instrument_id · integer

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/market/option_eod_theta/rows?limit=100&underlying_code=AAPL"

FIELD DICTIONARY

33 个返回字段

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

#字段ClickHouse 类型JSON可空角色说明
1underlying_instrument_idUInt64integernofilter, default_order, warehouse_primary_key, contract_unique_keyIdentifier for underlying instrument.名称推导
2underlying_codeStringstringnofilterSource-normalized field: underlying code.名称推导
3marketLowCardinality(String)stringnovalueCanonical market or country-market code.标准术语表
4rootStringstringnofilter, default_order, warehouse_primary_key, contract_unique_keySource-normalized field: root.名称推导
5option_symbolStringstringnovalueSource-normalized field: option symbol.名称推导
6expiration_datedateDatestring / datenofilter, default_order, warehouse_primary_key, contract_unique_keyCalendar date for expiration date (YYYY-MM-DD).名称推导
7strike_priceFloat64numbernodefault_order, warehouse_primary_key, contract_unique_keyPrice value for strike price.名称推导
8option_typeLowCardinality(String)stringnofilter, default_order, warehouse_primary_key, contract_unique_keySource-normalized field: option type.名称推导
9contract_sizeUInt32integernovalueSource-normalized field: contract size.名称推导
10trade_datedateDatestring / datenotime, default_order, warehouse_primary_key, contract_unique_keyTrading-session date in the dataset's market calendar.标准术语表
11openNullable(Float64)numberyesvalueOpening price for the represented interval.标准术语表
12highNullable(Float64)numberyesvalueHighest price for the represented interval.标准术语表
13lowNullable(Float64)numberyesvalueLowest price for the represented interval.标准术语表
14closeNullable(Float64)numberyesvalueClosing or last price for the represented interval.标准术语表
15volumeNullable(UInt64)integeryesvalueTraded volume for the represented interval.标准术语表
16trade_countNullable(UInt64)integeryesvalueCount of trade count.名称推导
17bidNullable(Float64)numberyesvalueSource-normalized field: bid.名称推导
18askNullable(Float64)numberyesvalueSource-normalized field: ask.名称推导
19open_interestNullable(UInt64)integeryesvalueSource-normalized field: open interest.名称推导
20implied_volatilityNullable(Float64)numberyesvalueSource-normalized field: implied volatility.名称推导
21deltaNullable(Float64)numberyesvalueSource-normalized field: delta.名称推导
22gammaNullable(Float64)numberyesvalueSource-normalized field: gamma.名称推导
23thetaNullable(Float64)numberyesvalueSource-normalized field: theta.名称推导
24vegaNullable(Float64)numberyesvalueSource-normalized field: vega.名称推导
25rhoNullable(Float64)numberyesvalueSource-normalized field: rho.名称推导
26underlying_priceNullable(Float64)numberyesvaluePrice value for underlying price.名称推导
27sourceLowCardinality(String)stringnoprovenanceNormalized upstream source identifier.标准术语表
28providerLowCardinality(String)stringnoprovenanceUpstream data provider identifier.标准术语表
29parser_versionLowCardinality(String)stringnoprovenanceVersion of the parser or normalizer that produced the row.标准术语表
30ingest_run_idStringstringnoprovenanceIdentifier of the ingestion run that produced the row.标准术语表
31version_tsUTC_datetimeDateTime64(3, 'UTC')string / date-timenoprovenanceUTC timestamp associated with the row version.标准术语表
32is_deletedUInt8integernovalueSoft-delete marker; public serving excludes current tombstones.标准术语表
33created_atUTC_datetimeDateTime64(3, 'UTC')string / date-timenovalueUTC timestamp when the warehouse row was first created.标准术语表
字典口径

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