You need to agree to share your Hugging Face information to access this dataset
This repository is publicly accessible, but you have to accept the conditions to access its files and content.
This dataset is free to browse and gated for download. Approval is tied to a Papers With Backtest subscription, which also covers the other datasets in this organisation and the strategy catalogue at https://paperswithbacktest.com. Plans and what each one includes: https://paperswithbacktest.com/pricing
Log in or Sign Up to review the conditions and access this dataset content.
Bonds Daily Price
This dataset includes daily yields for sovereign bond benchmarks. The files hold yields in percent; the pwb-toolbox loader turns them into zero-coupon prices by default.
1,415,096 rows over 209 symbols, 7 columns, covering 1969-04-30 to 2026-07-31. Refreshed monthly.
Strategies Built on This Data
590 papers in the Papers With Backtest catalogue declare this dataset as an input. 560 of them have been coded and run over their own full history. The median replicated Sharpe ratio is +0.48, and 59% clear a t-statistic of 1.96 on their own sample, against 48% across all 4,837 replications in the library.
Some of the strongest results that lean on it:
| Strategy | Sharpe | t-stat | Tested over |
|---|---|---|---|
| Forecasting Bond Risk Premia using Stationary Yield Factors | +1.06 | 6.4 | 36 years |
| Statistical and Economic Benefits of Whitening Residuals in Bond Yields | +0.90 | 4.9 | 29 years |
| Explaining low annuity demand: an optimal portfolio application to Japan | +1.60 | 9.6 | 36 years |
| Inflation and Stock Returns at B3 | +1.49 | 8.8 | 35 years |
A Sharpe ratio quoted without its t-statistic hides how much of the library cannot be distinguished from zero, which is why both are shown. The figures are in-sample over each strategy's own window and carry no transaction costs.
Why It Matters
This dataset powers fixed-income and cross-asset trading workflows by:
- Rate momentum and carry: Daily history of global bond benchmarks supports duration timing and curve-trading signals.
- Cross-asset hedging: Bond moves provide defensive context for equities, credit, FX, and commodities risk overlays.
- Long history: 209 sovereign curves, the oldest starting in 1969, which is enough span to test a rate signal across several full cycles.
Load It
Installation/Upgrade:
pip install --upgrade pwb-toolbox
Load the Dataset: Optionally pass instrument tickers (e.g., US10Y). By default the loader returns prices per 100 of face value; pass rate_to_price=False to get the yields as stored.
from pwb_toolbox import datasets as pwb_ds
df = pwb_ds.load_dataset("Bonds-Daily-Price", symbols=["US10Y"])
print(df.iloc[0, :])
Example Output:
symbol US10Y
date 1985-10-25
open 37.908432
high 37.908432
low 37.908432
close 37.908432
volume 0
Columns
| Column Name | Description |
|---|---|
| symbol | Bond or rate instrument ticker. |
| date | Trading date (YYYY-MM-DD). |
| open | Opening yield in percent, as stored in the files. |
| high | Highest yield of the session, in percent. |
| low | Lowest yield of the session, in percent. |
| close | Closing yield in percent. pwb-toolbox converts it to a price by default. |
| volume | Always zero. Rate benchmarks are quotes rather than traded instruments, so nothing is reported here. |
What This Data Does Not Cover
The files hold yields; the loader hands back prices. The 209 series are sovereign benchmark yields in percent: in the parquet, close for US10Y is 10.186 on 25 October 1985, a yield, not a bond price near 100. pwb_ds.load_dataset converts every series whose symbol ends in a maturity (3M, 2Y, 10Y...) into a zero-coupon price per 100 of face value, 100 / (1 + y/100) ** T, so the same row comes out at 37.91. Code that reads the files directly gets yields; code that goes through the loader gets prices unless it passes rate_to_price=False.
A price change is not a bond return. The converted price carries no coupon, so pct_change() on it gives the duration effect of a rate move and leaves out the carry: on the US 10-year that is most of the total return over the history. A momentum signal computed on the yields has the opposite sign to one computed on the prices.
After conversion, high and low swap places. The highest yield of the day becomes the lowest price, so a loaded row can show high below low. ESDE2Y is a Spain-Germany yield spread, not a bond, and the loader converts it like the others; read it with rate_to_price=False.
Access
Browsing the card and the schema is open to anyone. Downloading the files needs an approved request, tied to a subscription: what each plan includes. The same subscription covers the other datasets in this organisation.
Elsewhere
- Dataset page and coverage charts
- The strategy catalogue, 3,806 papers and 4,837 replicated strategies
pwb-toolbox, the loader used in the snippet aboveawesome-systematic-trading, the replicated strategies with their measured Sharpe- Every dataset in this organisation
Papers With Backtest publishes 32 datasets on the Hub and codes the papers that use them. Every strategy in the catalogue is run over its own full history before it is published, which is where the numbers above come from.
- Downloads last month
- 1,753