CORPORATE BOND FACTOR DATA -- UPDATED DATA (vintage 2026-10-02)
Dick-Nielsen, Feldhutter, Pedersen and Stolborg, "Corporate Bond Factors:
Replication Failures and a New Framework", Review of Financial Studies.

WHICH DATA IS THIS
  This folder holds the UPDATED data: the paper's pipeline run on the inputs
  as downloaded for this vintage, extended to 2025-11. Unlike the paper-vintage
  folder, the history in these files is NOT frozen: each update rebuilds the
  full sample from the current inputs, so values before 2024 can differ from
  the paper's data and from earlier updates. Known sources of such changes:
    * The JKP global factor data (the equity characteristics and stock returns
      our equity factors are built from) is now restricted by its providers to
      common stocks on major exchanges (common = 1, exch_main = 1,
      primary_sec = 1, obs_main = 1);
      the paper's equity panel also contained non-common securities.
    * The WRDS Bond-CRSP link is revised by WRDS (links added, windows
      adjusted), which moves bonds between issuers in the within-firm and
      firm-level factors.
    * Mergent FISD backfills ratings, amounts outstanding and defaults.
    * The manual price-error review is extended with every update (errors.csv).
    * The average default return (used when a defaulted bond does not trade)
      is re-estimated on the current sample and applied to all months.
    * The equity-signal factors (equity_factor_returns_*.csv, and the factors
      bev_mev, seas_1_1na and at_me of the 2002-2023 model) differ materially from the
      paper's before about 1995, where the common-stock restriction leaves
      thin portfolios. Use the paper-vintage folder to reproduce the paper.
  TRACE history is not re-downloaded: the paper's cleaned TRACE prices are
  kept up to 2023-10 and the new pull is used from 2023-11, so a few
  prices in 2023-11 and 2023-12 differ from the paper's.
  Input vintages for this build: TRACE pull 2025-04 (history) and 2026-08-28 (from 2023-11); FISD 2026-08-27; WRDS bond-CRSP link 2026-08-27; JKP characteristics 2026-10-01, JKP returns 2026-08-27; Fama-French/FRED 2026-08-28
  The data as used in the paper (sample end 2023-12-31, never changing) is
  published separately (folder "paper vintage").

FILES
  bond_factors.csv               monthly long-short bond factor returns, 1985-03 .. 2025-11
  bond_factors_within_firm.csv   within-firm versions (bonds sorted within issuer)
  firm_factors.csv               firm-level versions (signals aggregated to the issuer)
  bond_mkt_term.csv              corporate bond market (CMKT) and term factors
  factor_model_trace_sample.csv  the four-factor model selected over 2002-2023 -- see below
  factor_model_long_sample.csv   the four-factor model selected over 1985-2023 -- see below
  equity_factor_returns_all.csv  our long-short equity factor returns for the 151 equity
                                 signals of Jensen, Kelly and Pedersen (JKP), formed on the
                                 bond-issuing firms in our sample (not JKP's published
                                 factor returns); sign follows the JKP signal direction
  equity_factor_returns_cluster.csv  the same, averaged into JKP's 13 theme clusters
  bond_returns.csv               bond-month panel: returns, price, yield, spread, rating,
                                 bond terms and the 22 bond factor signals (column
                                 list below; TRACE-derived, see the WRDS/FINRA
                                 licence before redistributing)
  firm_returns.csv               bond returns and characteristics aggregated to the
                                 issuer (permno)
  bond_equity_link.csv           bond CUSIP -> PERMNO link with validity windows
  errors.csv                     the manual price-error review, all rounds to date
                                 (decision error / no_error)
  vintage_comparison.txt         month-by-month differences between these files and
                                 the paper-vintage files, every series, and rows per year

-------------------------------------------------------------------------------
The two factor models (Section 5)
-------------------------------------------------------------------------------
The paper selects, for each N, the N-factor combination attaining the highest
maximum Sharpe ratio, and finds N = 4 minimises pricing errors in both samples.
The selection is run over two samples, giving two four-factor models. Each file
below holds the monthly excess returns of one model's factors.

-------------------------------------------------------------------------------
factor_model_trace_sample.csv   -- the model selected over 2002-2023
-------------------------------------------------------------------------------
  f_t = a + b1*VAL_within + b2*VAL_firm + b3*EQMOM_firm + b4*LEV_firm + e_t

  column              paper notation   description
  Value-within-firm   VAL^within       within-firm value: bonds cheap relative
                                       to other bonds of the same issuer
  bev_mev             VAL^firm         book enterprise value / market
                                       enterprise value
  seas_1_1na          EQMOM^firm       equity momentum, average equity return
                                       over months t-11 to t-1
  at_me               LEV^firm         leverage: total assets / market equity

-------------------------------------------------------------------------------
factor_model_long_sample.csv    -- the model selected over 1985-2023
-------------------------------------------------------------------------------
  f_t = a + b1*CMKT + b2*VAL_within + b3*EQMOM_firm + b4*AGE_bond + e_t

  column              paper notation   description
  market              CMKT             corporate bond market excess return
  Value-within-firm   VAL^within       as above (same series as in the 2002-2023 model)
  Equity Momentum     EQMOM^firm       equity momentum, six-month specification
  Bond Age            AGE^bond         bond age, a liquidity-related factor

-------------------------------------------------------------------------------
Notes
-------------------------------------------------------------------------------
* Monthly returns, decimal (not percent). Dates are end of month. In the
  factor files the date is the month in which the return is earned (the
  portfolio is formed at the previous month-end). The same holds for the
  returns in bond_returns.csv and firm_returns.csv; their characteristics and
  signals are measured at the month-end of the row.
* bond_factors.csv holds 22 of the paper's 26 bond-level factors. Systematic
  risk, Liquidity, Liquidity-beta and Vix-beta need daily data and exist for
  the TRACE sample only; they are not published.
* bond_mkt_term.csv is the merged Warga/ICE/TRACE series used for the 1985-
  sample. It switches to TRACE from the return for 2002-09; it has no rows for
  1975-09 and 1985-01.
* A factor month is blank when the factor cannot be formed yet, e.g. the first
  3-11 months of the 3/6/9/12-month momentum factors.
* The date ranges are the full span for which the factors exist, which is wider
  than the estimation windows named above. The 2002-2023 model is also
  evaluated over 1985-2023 in the paper.
* The two models share VAL^within and both include a form of equity momentum,
  measured differently in each; the paper discusses why the selected
  compositions differ (Section 5).
* Component series are also published separately: Value-within-firm in
  bond_factors_within_firm.csv, Equity Momentum and Bond Age in
  bond_factors.csv, market in bond_mkt_term.csv, and bev_mev / seas_1_1na /
  at_me in equity_factor_returns_all.csv.

===============================================================================
bond_returns.csv and firm_returns.csv -- columns
===============================================================================
One row per bond (firm) and month-end date t. Returns, yields and spreads are
decimal (0.01 = 1%). Returns are for the month ENDING at t, as in CRSP; all
other columns are measured at t. To reproduce a factor for month t, sort on the
signals at t-1 and use the returns at t.
Every bond-month with a month-end price in the paper's sample has a row; the
return is blank when the bond has no price at the previous month-end (first
month, or a month without trades before it). Such rows still supply the
signals and market value for the next month's factor, and all of a firm's
bond-months enter the firm-level aggregation.

bond_returns.csv
  date                month end t
  cusip               9-digit bond CUSIP
  permno              CRSP PERMNO of the issuer (blank if not linked)
  market_value        price_eom/100 x amount_outstanding x 1000, in dollars
  ret_exc             return over month t in excess of the one-month T-bill
  ret_texc            return over month t in excess of a Treasury bond with the
                      same cash flows (credit excess return)
  yield               yield to maturity at t
  duration            duration at t, years
  rating_group        IG+ (AAA to A-), IG- (BBB+ to BBB-), SG (below BBB-)
  price_eom           month-end price per 100 of face value
  yield_spread        credit spread: yield minus the yield of a Treasury bond
                      with the same cash flows (Gurkaynak-Sack-Wright curve)
  convexity           convexity at t
  rating_num          numeric rating, 1 = AAA, 10 = BBB-, 22 = D
  amount_outstanding  face value outstanding, thousands of dollars (Mergent FISD)
  coupon              annual coupon rate, percent
  maturity            maturity date
  tmt                 time to maturity, years
  bond_age_pct        share of the bond's original life that has elapsed
  exit_month          1 if the bond left the sample during month t (typically
                      a default): the row carries only that month's return,
                      which the factors include; 0 otherwise
  Value ... Long Term Reversal
                      the 22 bond signals at month-end t, named as the columns
                      of bond_factors.csv. The factor for month t+1 sorts bonds
                      on these values, value-weighted, in terciles within rating
                      groups (see the paper). Starred signals are stored with
                      the sign reversed (e.g. Market Value* = -market value), so
                      every factor is long high and short low signal values.
                      For the first months of TRACE (2002) the signals come from
                      the merged Warga/ICE/TRACE panel the factors use.
                      The file covers the TRACE sample (from 2002-07), so it
                      reproduces the factor returns from 2002-08 on; the earlier
                      factor returns use the Warga/ICE panel, which is not
                      published.

  ret_exc and ret_texc are the returns computed by the paper's pipeline from
  the month-end prices at t-1 and t (they do not require the bond to pass the
  sample screens at t-1). A bond-month removed by the manual error review has
  no row; the following month's return, measured from the removed month's
  price, is kept as the pipeline computes it.

firm_returns.csv (bonds aggregated to the issuer, PERMNO)
  date, permno        as above
  market_value        sum over the firm's bonds
  ret_exc             value-weighted (by market value at t-1) excess return over
                      month t; a bond without a return that month is imputed
                      from the firm's other bonds, scaled by relative duration
  ret_texc            value-weighted (by market value at t-1) over the firm's
                      bonds with a Treasury-adjusted return that month; bonds
                      without one are left out
  yield, duration, yield_spread, convexity, tmt, bond_age_pct
                      value-weighted averages across the firm's bonds at t
  rating_num          value-weighted average, rounded up to the next notch
  rating_group        group of rating_num
  n_bonds             number of the firm's bonds at t
  exit_month          1 if the firm's last bonds left the sample during month t;
                      the row then carries only the return
  Value ... Long Term Reversal
                      the 22 firm-level signals at month-end t that
                      firm_factors.csv is sorted on, named as its columns:
                      the bond signals aggregated to the issuer as in the
                      paper's code (value-weighted averages; market value
                      summed), with the rolling signals (VaR, volatility,
                      betas, momentum, reversal) computed on the firm's own
                      bond return history

===============================================================================
bond_equity_link.csv -- mapping bonds to equities
===============================================================================
One row per bond-CUSIP / PERMNO pair with the dates over which the link holds.
Two sources, split at 2002-07-31, which is where the paper's merged 1985-
sample switches between them; the windows are truncated at that boundary.
Within a source, windows of the same CUSIP can overlap with different
PERMNOs (mostly in bondeqlink); the pipeline then uses the first matching row
of the source table. The PERMNO actually used for each bond-month is the
permno column of bond_returns.csv / firm_returns.csv -- use that rather than
re-merging this file. bond_returns.csv, which starts 2002-07-31, takes its
PERMNOs from the WRDS link for all months, including 2002-07-31.

  source          covers            provenance
  bondeqlink      up to 2002-07-31  constructed match, used for the pre-TRACE
                                    (Warga / Lehman) sample
  wrds_bondcrsp   from 2002-08-01   the WRDS Bond-CRSP Link, as distributed by
                                    WRDS; available there directly

  certainty       0-100 match confidence, for the bondeqlink rows only (blank
                  for WRDS rows). NOTE: the paper uses all bondeqlink matches
                  regardless of this score; it is published so users can impose
                  their own threshold. The median is 60, 86% of rows score below
                  100 and about a third score 0, so the pre-2002 mapping should
                  be treated as approximate.
