> ## Documentation Index
> Fetch the complete documentation index at: https://docs.yehangshe.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 期权合约时点行情

> 回看下单时已经能看到的最后成交与最优买卖报价，适合复盘成交相对买卖价的位置

回看下单时已经能看到的最后成交与最优买卖报价，适合复盘成交相对买卖价的位置。

适用于 Pro 与 Pro+。实际可用端点见当前 Key 的 `GET /v1/discover`。

## 请求

`GET /v1/options/contract-at-time/{contract}`

MCP command 为 `options.contract_at_time`，需要 `derived:read` 或 `data-api:read` scope。

contract 为精确 OCC。date 是美东交易日，time 是当天美东墙钟，支持 HH:MM:SS 或 HH:MM:SS.sss，精确到毫秒。

```bash theme={null}
curl -H "Authorization: Bearer $DATA_API_KEY" \
  'https://api.yehangshe.com/v1/options/contract-at-time/SPXW261125P07200000?date=2026-11-24&time=10:30:17.250'
```

## 读懂结果

requested\_at 是请求时刻。traded\_at、last\_usd、size\_contracts 表示最近实际成交的时间、美元价与张数。quoted\_at、bid\_usd、ask\_usd、bid\_size、ask\_size 表示最近报价的时间、买卖美元价与两边张数。两组时间独立，均可早于 requested\_at。仅取得一组时，另一组字段为 null。

## 计量

每次成功返回计 1 unit。


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.