USD/JPY · 美联储 H.10
Python 脚本读取美联储公布的历史汇率 HTML 表。报价是纽约中午买入价,单位为日元/美元。
快照对应 2026-11-23 发布批次。建模数据覆盖 2016-01-04 至 2026-11-20,共 2,720 条。
美联储原始表从下载的原始报价到模型的样本外评分,每一步都有明确的取样、复权和缺失值规则。
Follow the quotes from their sources through sampling, price adjustments, and quality checks into the forecast evaluation.
Python 脚本读取美联储公布的历史汇率 HTML 表。报价是纽约中午买入价,单位为日元/美元。
快照对应 2026-11-23 发布批次。建模数据覆盖 2016-01-04 至 2026-11-20,共 2,720 条。
美联储原始表
逐标的请求 query1.finance.yahoo.com/v8/finance/chart/{ticker} 的 interval=1d JSON。保存
OHLCV、复权收盘价及单独的拆股和分红事件。
2026-11-25 纽约时间收盘后下载。七个长期标的各有 2,741 根日线,覆盖 2016-01-04 至 2026-11-25。
Yahoo 复权说明
从 Hugging Face 归档按标的下载 1 分钟 Parquet,并用归档记录的文件大小与 SHA-256 校验。固定修订
eff0dac55d843b3b83caec819efa213021a3e3e5。
长期标的归档覆盖 2016-01-04 至 2026-10-23。归档没有完整披露行情交易场所与复权方法。
固定版本的分钟归档SHA-256 是什么? 它根据文件的全部字节生成一个 256 位的摘要,相当于文件指纹。下载后重新计算摘要,与归档预先记录的值核对,确认下载内容与快照一致。 NIST 官方释义
另存一份 Yahoo 近 60 天 5 分钟快照供独立核查,每个标的 4,680 根,实际覆盖 2026-09-02 至 2026-11-25。网页上的分钟线模型评分使用上面的 Syncster 归档和 Yahoo 日线隔夜端点。
A Python script reads the Board's historical exchange-rate HTML table. Quotes are New York noon buying rates in yen per U.S. dollar.
The snapshot uses the 2026-11-23 release. The model uses 2,720 published observations from 2016-01-04 through 2026-11-20.
Federal Reserve source table
The script requests interval=1d JSON from query1.finance.yahoo.com/v8/finance/chart/{ticker} for each
ticker and stores OHLCV, adjusted closes, and separate split and dividend events.
The downloads were made after the New York close on 2026-11-25. Each of the seven long-history tickers has 2,741 bars from 2016-01-04 through 2026-11-25.
Yahoo adjustment documentation
The script downloads one-minute Parquet files per ticker from Hugging Face, verifies their sizes and SHA-256 against the archive
metadata, and pins revision eff0dac55d843b3b83caec819efa213021a3e3e5.
The archive spans 2016-01-04 through 2026-10-23 for the long-history tickers. Trading venues and adjustment methods are only partially documented.
Pinned minute archiveWhat is SHA-256? It computes a 256-bit digest from all the bytes in a file, like a fingerprint. We recompute the digest after downloading and compare it with the value recorded by the archive to confirm that the file matches the snapshot. NIST glossary
A separate 60-day Yahoo five-minute request provided a cross-check snapshot with 4,680 bars per ticker from 2026-09-02 through 2026-11-25. The published minute-derived model scores use the Syncster archive above and Yahoo daily overnight endpoints.
方差取决于收益的平方,错误报价会放大误差,重复记录和缺失值也会改变取样窗口。在外汇数据里,用前一笔报价填补
ND 会人为加入一次零变化。在美股日线里,跨过缺失的收盘价会把多日变化当成单日收益。分钟线按完整的 5
分钟区间计算盘中方差,再用隔夜端点和跨来源检查判断能否构造全日方差。这些规则统一了拟合和评估所用观测的口径。若行情缺失集中在高波动时段,保留的样本仍可能偏向数据较完整的交易日。
跳过原表的
ND,校验日期唯一且按序、报价有限且为正。节假日和缺报价日期保持空缺,连续两次有效报价间计算对数变化,相同报价保留为零变化。用 2015 年 12
月的五次预热报价,计算最近五次对数变化的平方均值,再乘 252 得到年化方差代理量。每一步对应一个公布的报价,相邻方差窗口共享四个对数变化。
核对标的、美元计价、纽约时区及日线频率。保持日期唯一有序,校验正价格、OHLC 高低关系和非负整数成交量。空行情行跳过,拆股和分红事件保存在单独文件。用相邻交易所交易日的复权收盘价计算对数收益,并将其平方作为日度方差代理量。任何一个收盘端点缺失,该笔收益保持缺失。
SNDK 日线实例。 2026-11-25 的日线报价有效,保留在数据中。前一个交易日 11 月 24 日的报价不完整,因此 11 月 25 日的复权收盘到收盘收益留空。
AMD 清洗实例。 2,718 个交易日里,8 日因缺少 5 分钟区间而无法计算盘中方差。其余 2,710 日中,28 日触发 50 基点规则,1 个预热日缺少上一交易日的复权收盘价,最终得到 2,681 个全日方差观测。
Variance uses squared returns, so a bad quote can magnify errors. Duplicate or missing records can also change the sampling window.
Carrying an FX quote forward over an ND would add an artificial zero change. Skipping a missing equity close would treat a
multi-session change as one day's return. Complete five-minute bins support the intraday estimate, and overnight endpoints and
cross-source checks determine whether full-day variance is available. These rules keep the inputs consistent between fitting and
evaluation. If data gaps cluster in volatile periods, the retained sample can favor better-covered sessions.
The parser skips ND values, requires unique ordered dates, and validates finite positive rates. Gaps stay open. Log changes
use consecutive valid fixes, and unchanged fixes retain a zero change. Five December 2015 warm-up fixes seed the calculation. Annualized
proxy variance is 252 times the mean of the five latest squared log changes. A step is one published fix, so adjacent variance windows
share four changes.
The downloader checks each ticker, USD denomination, New York timezone, and daily frequency. It checks ordered unique dates, positive prices, OHLC ranges, and integer volume of zero or greater. Rows with null quotes are skipped. Split and dividend events go to a separate file. Squared log changes between adjusted closes of adjacent exchange sessions form the daily variance proxy. A missing close leaves the associated returns missing.
SNDK daily example. The valid 2026-11-25 quote stays in the data. The prior session's quote on November 24 is incomplete, so the November 25 adjusted close-to-close return stays missing.
AMD cleaning example. Of 2,718 exchange sessions, 8 had missing five-minute bins. Of the other 2,710, 28 exceeded the 50-basis-point threshold and the first session lacked a prior adjusted close for warm-up. That left 2,681 full-day variance values.
选择标的和数据频率,核对原始记录数、清洗后的有效样本和逐日剔除原因。 Choose a ticker and frequency to inspect input counts, usable observations, and exclusion reasons by date.
正在加载清洗审计…
日线按复权日收益、分钟线按全日方差的可用性标记。选择日期查看清洗记录。 Statuses track adjusted daily returns or minute-derived full-day variance. Select a date for its cleaning record.
| 日期Date | 环节Stage | 原因Reason |
|---|
在共同交易日历跨度的前 80% 拟合参数。评分要求每个预测起点及之前共 22 个交易日、以及之后 22 个交易日的数据在同组标的上连续可用。评估至少需要 252 个训练观测及 84 个样本外预测起点。各模型在同一标的组和数据口径内使用相同的预测起点。预测目标为未来 1、5 或 22 个交易日的平均日度方差乘以 252。
Fit parameters on the first 80% of the common calendar span. An eligible origin requires 22 consecutive sessions through that date and 22 subsequent sessions, all usable across the tickers in its group. An evaluation needs at least 252 training observations and 84 out-of-sample origins. Models share the same origins within each ticker group and frequency. The target is 252 times the mean daily variance over the next 1, 5, or 22 trading sessions.
公开的外汇 CSV 和来源 JSON 保留建模观测、预热报价、快照日期和观测文件的 SHA-256 校验值。可以用公开脚本从保存的 H.10 原始表重建 CSV,也可以用现有 CSV 直接重算模型。美联储可能修订历史报价,重新下载后可对比校验值。
美股行情快照和处理日志保存在本地研究目录。清单记录来源与校验值,逐日审计保留有效区间数、覆盖率、跨源偏差和剔除原因。网页公开汇总评分和从原始评估结果生成网页 JSON 的脚本。原始美股行情遵循各来源的再分发条款。
The public FX CSV and provenance JSON provide the model observations, warm-up fixes, snapshot dates, and a SHA-256 checksum. Rebuild the CSV with the public script and a saved H.10 source table or rerun the model from the included CSV. The Board can revise past rates, so compare checksums after a new download.
Equity snapshots and processing logs live in the local research project. Manifests record sources and checksums. Daily audits retain effective bin counts, coverage, cross-source discrepancies, and exclusion reasons. The site publishes aggregate scores and the script that exports them from the benchmark outputs. Raw equity quotes are subject to each source's redistribution terms.