Open source corporate bond data and code
Corporate bond data
- Daily and monthly corporate bond panels from Enhanced and 144A TRACE, cleaned and corrected as in Dickerson, Robotti and Rossetti (2026). The monthly panel has returns, credit spreads, duration and most of the characteristics behind the corporate bond factor zoo.
- Full daily and monthly data also available via WRDS Contributed Data.
- 108 long-short factors, single sorted and within firm, not sign-corrected to have a positive mean. You can explore them in FactorViz.
- Data reports on what each cleaning step removed or corrected.
How the data is built
The pipeline is public at github.com/Alexander-M-Dickerson/trace-data-pipeline and runs in five stages.
- Stage 0 cleans the TRACE transactions. It removes cancellations, corrections, reversals, interdealer double counts and bounce-back errors, and corrects decimal-shifted prices.
- Stage 1 builds the daily panel, with clean prices, accrued interest, yields, credit spreads, duration and convexity.
- Stage 2 builds the monthly panel and estimates the characteristics and betas used as factor signals.
- Stage 3 rebuilds the tables and data figures of Dickerson, Robotti and Rossetti (2026) from your panel.
- Stage 4 builds the TRACE-only bond factors shown in FactorViz.
Credit and duration – the difference matters
van Binsbergen, Nozawa and Schwert (2025) show that over the past twenty years most of the total return on corporate bonds has been the return on a duration-matched Treasury portfolio rather than compensation for credit or liquidity risk.
Every monthly panel we publish includes all three Treasury hedging portfolio returns, so you can compute duration-adjusted returns with any of the three. FactorViz defines them under its About tab.
Priced risk in corporate bonds
This site also hosts the corrected Bai, Bali and Wen (2019) four factors from Dickerson, Mueller and Robotti (2023). Stage 2 of the pipeline rebuilds them.
The paper finds that the bias-adjusted squared Sharpe ratio of the bond market portfolio is higher than that of all four BBW factors together. For an investor, holding the market is optimal.
Download the corrected BBW four factors (zip, parquet and CSV)
@article{Dickerson-Mueller-Robotti-2023,
title = {Priced Risk in Corporate Bonds},
author = {Alexander Dickerson and Philippe Mueller and Cesare Robotti},
journal = {Journal of Financial Economics},
volume = {150},
pages = {article 103707},
year = {2023},
publisher = {Elsevier}}
Papers
- The Corporate Bond Factor Replication Crisis
Dickerson, Robotti and Rossetti (2026). Working paper. SSRN - The Co-Pricing Factor Zoo
Dickerson, Julliard and Mueller (2026). Journal of Financial Economics 182, article 104295. journal - Priced risk in corporate bonds
Dickerson, Mueller and Robotti (2023). Journal of Financial Economics 150, article 103707. journal - Duration-Based Valuation of Corporate Bonds
van Binsbergen, Nozawa and Schwert (2025). Review of Financial Studies 38(1), 158-191. journal
Contributors
- Alex Dickerson (UNSW)
- Philippe Mueller (Warwick)
- Cesare Robotti (Warwick)
- Christian Julliard (LSE)
- Yoshio Nozawa (Toronto)
- Giulio Rossetti (Warwick)
- Chuck Fang (Drexel)