HEDGEFUNDIE's excellent adventure: Federal Funds Rate side discussion

Discuss all general (i.e. non-personal) investing questions and issues, investing news, and theory.
comeinvest
Posts: 2097
Joined: Mon Mar 12, 2012 6:57 pm

Re: HEDGEFUNDIE's excellent adventure: Federal Funds Rate side discussion

Post by comeinvest »

unemployed_pysicist wrote: Fri May 19, 2023 8:46 am A bit surprising that the HFEA with STT is barely better in Sharpe than the HFEA with ITT. Nonetheless, it does indeed perform better than LTT and ITT. You are right, STT loses to both ITT and LTT during the days of ZIRP.
I know that the more parameters you introduce, the bigger is the risk of parameter fitting a.k.a. "predicting the past"; but nevertheless, I suggest that any dynamic asset allocation strategy on the yield curve, or even a static one, makes adjustments for when yields at a maturity approach zero, especially when the slope likewise approaches zero. For example, a carry based strategy as per the Carry Investing on the Yield Curve paper would do just that.

STT didn't outperform ITT since about 2010, because of ZIRP and then because of unexpected yield curve flattening. I personally think this does not refute the case for implementing duration exposure with short maturities.
First, either the positioning on the yield curve needs to be dynamic based on yields and/or on carry, or the allocation to treasuries altogether needs to be reduced dynamically based on available yields or carry.
Second, like I said before, we probably should separate the carry portion of the performance charts from the returns due to yield changes, because yields are range bound and yield changes are mean-reverting, which means forecasts based on past returns due to yield changes should anticipate the opposite of the past (if anything), rather than anticipating an extrapolation of the past. The performance charts are still important for assessing the drawdown risk; but carry charts should be used for assessing expected returns. EDIT: Carry charts are probably only useful standalone i.e. not in combination with equities, and plotted as average carry over time frames like per decade against maturities, like here: viewtopic.php?p=6880375#p6880375
Last edited by comeinvest on Sat May 20, 2023 8:22 pm, edited 4 times in total.
comeinvest
Posts: 2097
Joined: Mon Mar 12, 2012 6:57 pm

Re: HEDGEFUNDIE's excellent adventure: Federal Funds Rate side discussion

Post by comeinvest »

unemployed_pysicist wrote: Fri May 19, 2023 8:46 am
comeinvest wrote: Fri May 19, 2023 2:52 am
Your charts appeared now. Very useful, thanks a lot! LTT wins during unexpected curve flattening, to be precise. During ZIRP it was flat, because both ITT and LTT had some slope; STT would probably have lost to both during ZIRP, but overall STT would have probably crushed both ITT and LTT. Any chance you can add STT to the chart, and an STT vs ITT telltale chart?
Price chart, using a 2 year coupon bond as a proxy for STTs:

Image

Telltale chart:

Image

I changed the telltale chart from log scale to regular scale; not sure if this helps with the visualization or not.

A bit surprising that the HFEA with STT is barely better in Sharpe than the HFEA with ITT. Nonetheless, it does indeed perform better than LTT and ITT. You are right, STT loses to both ITT and LTT during the days of ZIRP.
Thanks a lot! Suggestion: In the charts, we might want to reduce the portfolio duration exposure as a percentage of NAV and in relation to the equities exposure, as skier suggested when moving to ITT and then to STT, because of the higher duration-adjusted volatility. For example like 135% LTT (15y duration), vs 300% ITT (5y duration), vs 500% STT (2y duration), or expressed differently, a portfolio duration of 1.35 * 15 -> ca. 20, vs. 3 * 5 = 15. vs. 5 * 2 = 10 (for example).

Then we also need to adjust for spread of IRR to 3-mo. treasuries if you still you 3-mo. treasuries as financing rate. I attempted an estimate here viewtopic.php?p=6931163#p6931163 and there are more discussions in the mHFEA thread. Although the effect *might* be proportional to the duration risk i.e. the portfolio drag independent of the implementation with different underlying maturities.
comeinvest
Posts: 2097
Joined: Mon Mar 12, 2012 6:57 pm

Re: HEDGEFUNDIE's excellent adventure: Federal Funds Rate side discussion

Post by comeinvest »

unemployed_pysicist wrote: Fri May 19, 2023 11:38 am ...
I think I have the zero coupon returns figured out. Here is a test case, comparing a quarterly rolled zero coupon bond to a known zero-coupon bond fund (VEDTX/EDV). I think EDV generally keeps a 24.5 average duration and maturity, so for the simulation, I used a 24.625 year zero-coupon bond. First, here is the simulation result using a 5 bps spread:
...

Fairly close. This looks "good enough" to me. However, I tried turning off the spread altogether and got this result:
...

This looks like an even closer match than the first plot. Maybe we are justified to ignore the spread? There are fluctuations, and some dislocations around extreme events (2008, 2020), but after nearly 15 years, the simulated EDV has about the same value as the actual EDV.
...
Remind me what spread of 5 bps are you referring to here?
comeinvest
Posts: 2097
Joined: Mon Mar 12, 2012 6:57 pm

Re: HEDGEFUNDIE's excellent adventure: Federal Funds Rate side discussion

Post by comeinvest »

unemployed_pysicist wrote: Sat May 20, 2023 7:06 am As discussed earlier, the zero coupon bond is rolled quarterly, and there is a monthly rebalance of asset allocation and leverage. I wonder if it would be better to do a quarterly rebalance instead? I just use the 3 month treasury as the cost of leverage with no additional spreads or frictions - not quite realistic.
My understanding based on my reading of the HFEA threads is that the rebalance frequency (within limits) doesn't matter in the long run, but with shorter (monthly -> quarterly -> annual) frequencies you get more consistent results, because V-shaped drawdowns and recoveries and other large fluctuations are more accurately captured. With quarterly and annual you can be lucky or unlucky around single events, which means you need more time for the lucky and unlucky events to average out. I would therefore do simulations with monthly rebalancing, if you already have data with that granularity.

Regarding the cost of leverage, there were some discussions in the mHFEA thread, but no conclusive answers that I am aware of. I would use for example 0.1% p.a. spread to T-bill for STT, 0.2% for ITT, and 0.3% for LTT. A little arbitrary, but I think it's better to use some numbers than to use none. Those numbers would assume a higher spread to T-bills per duration risk for shorter maturities, which I'm not sure is the case in reality; but it may be better to err on the cautious side.
comeinvest
Posts: 2097
Joined: Mon Mar 12, 2012 6:57 pm

Re: HEDGEFUNDIE's excellent adventure: Federal Funds Rate side discussion

Post by comeinvest »

unemployed_pysicist wrote: Sat May 20, 2023 7:06 am Now, looking at the STT portfolio, there is a 95% drawdown from 1977 January to 1981 November, and ~95% drawdown from the start value. Ouch! In roughly 10 years, you would have lost 95% of your initial investment :(

After ~50 years, however, the STT portfolio is 70(!) times larger than the SP500 portfolio. The performance of STTs is truly astounding over the 40 year bond bull run.
That number says nothing without adjusting for yield changes. 10y yields were well above 6% in 1972 i.e. they dropped by ca. 3% until now. (FRED doesn't have 2y or 30y yields from 1972.) 3 * 15.5 * 1.35 -> ca. 63% performance boost from valuation changes. 70 / 1.63 -> 43 (4300%) would be the yield-adjusted performance. I'm not sure if my math makes sense. Arguably we also need to adjust for expected volatility vs. historical volatility for example due to strategic changes to fed policy.
comeinvest
Posts: 2097
Joined: Mon Mar 12, 2012 6:57 pm

Re: HEDGEFUNDIE's excellent adventure: Federal Funds Rate side discussion

Post by comeinvest »

unemployed_pysicist wrote: Sat May 20, 2023 7:06 am Image
STT -95% vs. LTT -83% in 1981 means STT dropped another (17 - 5) / 17 -> 71% in comparison to the low point of LTT. But these numbers are not so meaningful because almost nobody would like to implement a strategy with these potential drawdowns, which would probably also not be advisable not only from an emotional but also from a rational risk standpoint, as secular interest rate regimes can last longer than an individual's lifetime.

Interesting the completely different behavior of the multi-asset portfolios in comparison to the equities only portfolio during the 4 major equity market drawdowns: 1982 and 2022 (unexpected inflationary periods) vs. 2002 and 2009 (unexpected macroeconomic crashes).
As it is, the chart shows mainly the amplified behavior of STT and ITT vs. LTT both to the downside (1982, 2022) and to the upside (2002, 2009). We need to chart a more risk-adjusted comparison to see the characteristics of each tenor.

Can you please double-check the data for the drawdowns in 2002 and 2009 ? The 2002 drawdown started from the peak in 2000. VUSTX in 2002 was strictly above VUSTX in 2000 at all times. So the orange line should not be below the red line at the trough in 2002, right? Likewise, it looks like VFITX in 2009 was strictly above its Oct 2007 value at all times (although it looks like it dropped close to 2007 values in June-July 2009); and it looks like VUSTSX was strictly above its 2007 value at all times, at least after adding dividend payments. So the blue and orange lines should be above the red line at the trough in 2009, right?
.INX: https://www.google.com/finance/quote/.I ... window=MAX
VFITX: https://www.google.com/finance/quote/VF ... window=MAX
VUSTX: https://www.google.com/finance/quote/VU ... window=MAX
comeinvest
Posts: 2097
Joined: Mon Mar 12, 2012 6:57 pm

Re: HEDGEFUNDIE's excellent adventure: Federal Funds Rate side discussion

Post by comeinvest »

unemployed_pysicist wrote: Sat May 20, 2023 7:06 am ...
We can go back further with STT and ITT using the zero coupon data - back to 14 June 1961. A next step may be to construct backtests with similar bond exposure to HFEA (~400% ITT, ~1000% STT) to see how they would have fared in this period of rising interest rates. Or we could pare back the bond exposure to something more "sensible", like 200% ITT/500% STT, or some other number. I'm also interested in the CAGR for various roll periods, say 10, 20, 30 years, going back to 1972 (Allows non-callable LTTs) or to 1961.
Exactly what I too am interest in. Although the sharpe ratios are higher than that of the 135% LTT and the equities-only portfolios, 400% ITT and 1000% STT are not so relevant for practical purposes because the max drawdowns are too deep, and we probably don't want to significantly reduce the equities exposure, for reasons cited in the mHFEA thread: Equities have much higher term premia, and the secular regimes or economic cycles and clawback times of equities to previous highs are shorter than for interest rates and term premia. So we need to adjust the duration exposure in the shorter tenors for the higher short-term interest rate risk. I vote for 135% LTT / 300% ITT / 500% STT, as this scales back the effective portfolio duration more evenly than 135/200/500. In the end this is a multivariate optimization problem in a space with the equities/bonds ratio, the leverage factor, and the treasury tenor dimension; but we don't want to overfit the data.

Another set of analyses that I've always been interest in for my yield curve positioning is how does the risk per tenor depend on the initial yields. For example, using the current yield curve as an example, is the 2y STT at ca. 4% really more risky than the 5y ITT at 3.7% ? I think we can answer these questions now, at least historically, with your return and duration or zero coupon data along with the yield data.
comeinvest
Posts: 2097
Joined: Mon Mar 12, 2012 6:57 pm

Re: HEDGEFUNDIE's excellent adventure: Federal Funds Rate side discussion

Post by comeinvest »

unemployed_pysicist wrote: Sat May 20, 2023 7:06 am Here are some HFEA backtests with zero coupon bonds, in the same style as the ones I posted previously. I use a 135% allocation to the 15y zero as a proxy for LTT, 5y zero for ITT, and 2y zero for STT. All terms shorter than 15y are given additional leverage to have the same duration as the 135% allocation to 15y zeros. As discussed earlier, the zero coupon bond is rolled quarterly, and there is a monthly rebalance of asset allocation and leverage. I wonder if it would be better to do a quarterly rebalance instead? I just use the 3 month treasury as the cost of leverage with no additional spreads or frictions - not quite realistic.

Image

All of these portfolios have much bigger drawdowns during the 70s than the coupon bonds I posted previously - owing to the fact that the duration exposure is much larger (1.35*(15)=20.25). In fact, this has greater duration than regular HFEA - my VUSTX sim has a duration exposure that goes down to a low of 1.35*6.5=8.8 in 1982, for example.

Now, looking at the STT portfolio, there is a 95% drawdown from 1977 January to 1981 November, and ~95% drawdown from the start value. Ouch! In roughly 10 years, you would have lost 95% of your initial investment :(

After ~50 years, however, the STT portfolio is 70(!) times larger than the SP500 portfolio. The performance of STTs is truly astounding over the 40 year bond bull run.

...
If your previous chart in viewtopic.php?p=7273625#p7273625 was based on newly issued or par-equivalent bonds, then that was a big risk reducing factor in the inflationary 1964-1982 period. On the other hand, this would also appear to de-leverage low and re-leverage high (possibly counter-productive), when "leverage" is measured with respect to constant portfolio duration. Clearly the risk reduction lead to relatively smaller drawdowns during the periods of sustained, trending, rising interest rates, as expected. The constant portfolio duration strategy on the other hand had much lower lows, but yet claimed back the losses and came out ahead with a portfolio growth factor of ca. 10,000 vs. 3,000 between 1972 and now.
Surprisingly, the constant portfolio duration sharpe was still higher than the constant maturity sharpe, despite the much deeper max drawdown of ca. 95% vs. ca. 85% (eyeballing your chart). Of course the sharpe ratio is not very meaningful here because of the scale at which it is measured, and then also because of the probably nonlinear drawdown utility function at this magnitude.
In my own portfolio I rebalance by total portfolio duration exposure in relation to NAV, not by nominal value of constant maturity bonds, simply because in the latter case I don't see a way to define the exposure that is not arbitrary. The duration of a bond of a certain maturity at a certain time with a certain yield to maturity effectively depends on its history - the time it was issued and the coupon rate at that time; but asset allocation should depend on present state variables only.
The "constant nominal exposure to maturity" portfolio implicitly deleverages faster than the constant portfolio duration portfolio. A portfolio that explicitly or implicitly rebalances faster, is safer in tail risk scenarios (sustained, trending drawdowns). On the other hand a portfolio that rebalances less often will perform better in oscillating markets. Therefore I think we might want to adjust the treasuries nominal leverage ratios accordingly, i.e. to the same max drawdown risk, for an apples to apples comparison, and see which one wins.
unemployed_pysicist
Posts: 137
Joined: Sat Oct 09, 2021 2:32 pm

Re: HEDGEFUNDIE's excellent adventure: Federal Funds Rate side discussion

Post by unemployed_pysicist »

comeinvest wrote: Sat May 20, 2023 7:01 pm
unemployed_pysicist wrote: Fri May 19, 2023 11:38 am ...
I think I have the zero coupon returns figured out. Here is a test case, comparing a quarterly rolled zero coupon bond to a known zero-coupon bond fund (VEDTX/EDV). I think EDV generally keeps a 24.5 average duration and maturity, so for the simulation, I used a 24.625 year zero-coupon bond. First, here is the simulation result using a 5 bps spread:
...

Fairly close. This looks "good enough" to me. However, I tried turning off the spread altogether and got this result:
...

This looks like an even closer match than the first plot. Maybe we are justified to ignore the spread? There are fluctuations, and some dislocations around extreme events (2008, 2020), but after nearly 15 years, the simulated EDV has about the same value as the actual EDV.
...
Remind me what spread of 5 bps are you referring to here?
5 bps is the bid-ask spread. Meaning, when I buy a bond at par, I have to pay $1000.25 instead of just $1000. When I sell the bond after 1 quarter, I lose (0.05)/200 % of its value from the act of selling (if the bond is worth $1000 when I sell it, I only receive $999.75.) With STRIPS, the fresh zero price varies depending on the prevailing interest rate.

From my own observation of STRIPS spreads at my broker (and also looking at IBKR quotes), I see something more like a 50-100 bps spread (!) Yet, using this high of a transaction cost with my methodology produces an unacceptable level of slippage compared to VEDTX. Turning off the spread altogether gives a better match to the actual performance of VEDTX.
couldn't afford the h | | BUY BONDS | WEAR DIAMONDS
unemployed_pysicist
Posts: 137
Joined: Sat Oct 09, 2021 2:32 pm

Re: HEDGEFUNDIE's excellent adventure: Federal Funds Rate side discussion

Post by unemployed_pysicist »

comeinvest wrote: Sat May 20, 2023 8:46 pm
unemployed_pysicist wrote: Sat May 20, 2023 7:06 am As discussed earlier, the zero coupon bond is rolled quarterly, and there is a monthly rebalance of asset allocation and leverage. I wonder if it would be better to do a quarterly rebalance instead? I just use the 3 month treasury as the cost of leverage with no additional spreads or frictions - not quite realistic.
My understanding based on my reading of the HFEA threads is that the rebalance frequency (within limits) doesn't matter in the long run, but with shorter (monthly -> quarterly -> annual) frequencies you get more consistent results, because V-shaped drawdowns and recoveries and other large fluctuations are more accurately captured. With quarterly and annual you can be lucky or unlucky around single events, which means you need more time for the lucky and unlucky events to average out. I would therefore do simulations with monthly rebalancing, if you already have data with that granularity.

Regarding the cost of leverage, there were some discussions in the mHFEA thread, but no conclusive answers that I am aware of. I would use for example 0.1% p.a. spread to T-bill for STT, 0.2% for ITT, and 0.3% for LTT. A little arbitrary, but I think it's better to use some numbers than to use none. Those numbers would assume a higher spread to T-bills per duration risk for shorter maturities, which I'm not sure is the case in reality; but it may be better to err on the cautious side.
I have data on a daily level for the input time-series (VFINX, simulated bond funds). I down-sample to monthly for all the rebalancing operations, and only record the various portfolio values every month. I would like to change the process to show daily portfolio history to get an unambiguous measure of the max drawdown, and possibly allow for rebalancing band triggers.

I can certainly add an average spread to the T-bill for the different maturities. I can start with the values you suggest. However, I want to mention briefly that Burghardt says in The Treasury Bond Basis:
Burghardt in The Treasury Bond Basis wrote: For several years in the 1980s, bond futures were chronically cheap, and it was possible to make money consistently by selling the bond basis. This was a time when portfolio managers could add a few hundred basis points to the yield on a portfolio doing nothing more than selling Treasury bonds out of portfolio and replacing them with their risk equivalent in Treasury bond futures. By the end of the 1980s, however, bond futures had become more or less fairly priced most of the time, and one could no longer profit from a naive short basis strategy.

Although Treasury bond futures are no longer chronically cheap, there have still been regular opportunities to profit from selling the 10-year basis. Because 10-year futures are widely used as a hedge by mortgage investors and other portfolio managers, the contract trades below fair value more often than not. This seems especially true when the "'on-the run" 10-year Treasury note trades special in the repo market and hedgers find 10-year cash Treasuries expensive to short.


If I understand figure 2 from the Hedge funds and the treasury cash futures disconnect properly, the authors' data seems consistent with Burghardt's claim:
https://www.financialresearch.gov/worki ... isconnect/

I.e., the IRR of the T bond contract was negative for periods of time, particularly in the 1980s. We could probably also expect that the IRR goes negative during periods of high implied volatility in the bond market. A long futures strategy (instead of the underlying notes/bonds) should get a boost during these periods relative to the current backtests, correct?

I am interested in constructing the IRR time series myself for all the treasury futures contracts as far back as possible, but this is a considerable amount of work. For now, we can stick to the fixed 0.1, 0.2, 0.3 % additional leverage cost for the bond portion. The past is not the future, so we probably should not expect treasury futures to be so cheap relative to cash bonds again as it was in the 1980s, but the IRRs do affect the history of treasury futures performance. Just something to keep in mind.
comeinvest wrote: Sat May 20, 2023 9:41 pm
unemployed_pysicist wrote: Sat May 20, 2023 7:06 am Now, looking at the STT portfolio, there is a 95% drawdown from 1977 January to 1981 November, and ~95% drawdown from the start value. Ouch! In roughly 10 years, you would have lost 95% of your initial investment :(

After ~50 years, however, the STT portfolio is 70(!) times larger than the SP500 portfolio. The performance of STTs is truly astounding over the 40 year bond bull run.
That number says nothing without adjusting for yield changes. 10y yields were well above 6% in 1972 i.e. they dropped by ca. 3% until now. (FRED doesn't have 2y or 30y yields from 1972.) 3 * 15.5 * 1.35 -> ca. 63% performance boost from valuation changes. 70 / 1.63 -> 43 (4300%) would be the yield-adjusted performance. I'm not sure if my math makes sense. Arguably we also need to adjust for expected volatility vs. historical volatility for example due to strategic changes to fed policy.
I'm not sure I fully understand. Do you mean you want to look at a sample where the interest rates begin and end at about the same value? Probably a good idea, consistent with Antti Ilmanen's suggestions in the "Understanding the Yield Curve" series. Early 1960s to now looks like a good candidate.
E.g.:

Code: Select all


Date:		2y Zero		5y Zero
1963-12-30	3.8		4.0
2023-03-13   	4.1		3.7
Actual 10+ year zero data does not go back this far. I can "cheat" and use the NSS fit anyway for the 15y zero, but 1961-1972 yield data for the 15y zero has to be taken with considerable skepticism. We can pick a date with the closest match across all maturity buckets. I am not sure what you mean by adjusting for expected volatility vs historical volatility, and how I should implement this in the backtest.
couldn't afford the h | | BUY BONDS | WEAR DIAMONDS
comeinvest
Posts: 2097
Joined: Mon Mar 12, 2012 6:57 pm

Re: HEDGEFUNDIE's excellent adventure: Federal Funds Rate side discussion

Post by comeinvest »

unemployed_pysicist wrote: Sun May 21, 2023 5:16 am
comeinvest wrote: Sat May 20, 2023 8:46 pm
unemployed_pysicist wrote: Sat May 20, 2023 7:06 am As discussed earlier, the zero coupon bond is rolled quarterly, and there is a monthly rebalance of asset allocation and leverage. I wonder if it would be better to do a quarterly rebalance instead? I just use the 3 month treasury as the cost of leverage with no additional spreads or frictions - not quite realistic.
My understanding based on my reading of the HFEA threads is that the rebalance frequency (within limits) doesn't matter in the long run, but with shorter (monthly -> quarterly -> annual) frequencies you get more consistent results, because V-shaped drawdowns and recoveries and other large fluctuations are more accurately captured. With quarterly and annual you can be lucky or unlucky around single events, which means you need more time for the lucky and unlucky events to average out. I would therefore do simulations with monthly rebalancing, if you already have data with that granularity.

Regarding the cost of leverage, there were some discussions in the mHFEA thread, but no conclusive answers that I am aware of. I would use for example 0.1% p.a. spread to T-bill for STT, 0.2% for ITT, and 0.3% for LTT. A little arbitrary, but I think it's better to use some numbers than to use none. Those numbers would assume a higher spread to T-bills per duration risk for shorter maturities, which I'm not sure is the case in reality; but it may be better to err on the cautious side.
I have data on a daily level for the input time-series (VFINX, simulated bond funds). I down-sample to monthly for all the rebalancing operations, and only record the various portfolio values every month. I would like to change the process to show daily portfolio history to get an unambiguous measure of the max drawdown, and possibly allow for rebalancing band triggers.

I can certainly add an average spread to the T-bill for the different maturities. I can start with the values you suggest. However, I want to mention briefly that Burghardt says in The Treasury Bond Basis:
Burghardt in The Treasury Bond Basis wrote: For several years in the 1980s, bond futures were chronically cheap, and it was possible to make money consistently by selling the bond basis. This was a time when portfolio managers could add a few hundred basis points to the yield on a portfolio doing nothing more than selling Treasury bonds out of portfolio and replacing them with their risk equivalent in Treasury bond futures. By the end of the 1980s, however, bond futures had become more or less fairly priced most of the time, and one could no longer profit from a naive short basis strategy.

Although Treasury bond futures are no longer chronically cheap, there have still been regular opportunities to profit from selling the 10-year basis. Because 10-year futures are widely used as a hedge by mortgage investors and other portfolio managers, the contract trades below fair value more often than not. This seems especially true when the "'on-the run" 10-year Treasury note trades special in the repo market and hedgers find 10-year cash Treasuries expensive to short.


If I understand figure 2 from the Hedge funds and the treasury cash futures disconnect properly, the authors' data seems consistent with Burghardt's claim:
https://www.financialresearch.gov/worki ... isconnect/

I.e., the IRR of the T bond contract was negative for periods of time, particularly in the 1980s. We could probably also expect that the IRR goes negative during periods of high implied volatility in the bond market. A long futures strategy (instead of the underlying notes/bonds) should get a boost during these periods relative to the current backtests, correct?

I am interested in constructing the IRR time series myself for all the treasury futures contracts as far back as possible, but this is a considerable amount of work. For now, we can stick to the fixed 0.1, 0.2, 0.3 % additional leverage cost for the bond portion. The past is not the future, so we probably should not expect treasury futures to be so cheap relative to cash bonds again as it was in the 1980s, but the IRRs do affect the history of treasury futures performance. Just something to keep in mind.
Yes, the futures basis or IRR spread seems to vary over time and establish different regimes. There is quite some literature trying to document and explain this, but I think there is no consistent model. There are several factors playing into this, including balance sheet constraints of hedgers and many more. I don't think this can be explained or forecast accurately. Also for example the fact that /EMD equity index futures are so cheap in comparison to /ES futures is hard to explain conclusively. Having that said, I think for purpose of evaluating the drawdown risk as well as the performance shortfall risk of implementing a version of HFEA, it's better to err on the cautious side.
comeinvest
Posts: 2097
Joined: Mon Mar 12, 2012 6:57 pm

Re: HEDGEFUNDIE's excellent adventure: Federal Funds Rate side discussion

Post by comeinvest »

unemployed_pysicist wrote: Sun May 21, 2023 5:16 am
comeinvest wrote: Sat May 20, 2023 9:41 pm
unemployed_pysicist wrote: Sat May 20, 2023 7:06 am Now, looking at the STT portfolio, there is a 95% drawdown from 1977 January to 1981 November, and ~95% drawdown from the start value. Ouch! In roughly 10 years, you would have lost 95% of your initial investment :(

After ~50 years, however, the STT portfolio is 70(!) times larger than the SP500 portfolio. The performance of STTs is truly astounding over the 40 year bond bull run.
That number says nothing without adjusting for yield changes. 10y yields were well above 6% in 1972 i.e. they dropped by ca. 3% until now. (FRED doesn't have 2y or 30y yields from 1972.) 3 * 15.5 * 1.35 -> ca. 63% performance boost from valuation changes. 70 / 1.63 -> 43 (4300%) would be the yield-adjusted performance. I'm not sure if my math makes sense. Arguably we also need to adjust for expected volatility vs. historical volatility for example due to strategic changes to fed policy.
I'm not sure I fully understand. Do you mean you want to look at a sample where the interest rates begin and end at about the same value? Probably a good idea, consistent with Antti Ilmanen's suggestions in the "Understanding the Yield Curve" series. Early 1960s to now looks like a good candidate.
E.g.:

Code: Select all


Date:		2y Zero		5y Zero
1963-12-30	3.8		4.0
2023-03-13   	4.1		3.7
Actual 10+ year zero data does not go back this far. I can "cheat" and use the NSS fit anyway for the 15y zero, but 1961-1972 yield data for the 15y zero has to be taken with considerable skepticism. We can pick a date with the closest match across all maturity buckets. I am not sure what you mean by adjusting for expected volatility vs historical volatility, and how I should implement this in the backtest.
What I was trying to say is, I think a chart like the following from this https://www.simplify.us/blog/efficient- ... -investing paper is useful for comparing the returns of different tenors of treasury futures.

Yes to eliminate the effect of yield changes, you can select a starting point and end point that have similar or equal yields; but you would only have very few data points available that way. So I think what can be done instead is separating the "carry" returns from the returns due to yield changes. Yields are fluctuating, range bound, and have mean reverting tendencies; but they are hard to predict for a specific point in time. In the long run, the longer the time horizon, the effect of carry will dominate the effect of yield changes. Therefore - unless you try to time the market with interest rate predictions - you could arguably say that the carry leads to a better estimate of future returns.

I have not thought this completely through, but I think other than a per decade or similar segment chart like the Simplify below, it should also be possible to create performance time series or charts on the timeline that eliminate the effect of yield changes, right? So if the yield of the 9.75y treasury is x% at time T, and after a time t later (e.g. 1 quarter) it is at (x+y)%, and the 10y treasury's return was r between T and T+t, then the contribution of yield change to the return was -y * duration. So you would add y * duration to r to arrive at the return adjusted for yield change (i.e. as if the shape of the yield curve had stayed constant between T and T+t). You could eventually create a performance chart agnostic of yield changes. That way you could compare carry returns over time for a particular treasury tenor, and you could also compare returns of different treasury tenors (2y, 5y, 10y, etc.) that are not biased because of curve steepening or flattening during your backtesting period.
If and when starting end end yield are the same, all the adjustments over that time frame would add to zero.
I hope that makes sense, I'm just thinking loud.

Image
unemployed_pysicist
Posts: 137
Joined: Sat Oct 09, 2021 2:32 pm

Re: HEDGEFUNDIE's excellent adventure: Federal Funds Rate side discussion

Post by unemployed_pysicist »

comeinvest wrote: Sun May 21, 2023 6:05 pm
unemployed_pysicist wrote: Sun May 21, 2023 5:16 am
comeinvest wrote: Sat May 20, 2023 9:41 pm
unemployed_pysicist wrote: Sat May 20, 2023 7:06 am Now, looking at the STT portfolio, there is a 95% drawdown from 1977 January to 1981 November, and ~95% drawdown from the start value. Ouch! In roughly 10 years, you would have lost 95% of your initial investment :(

After ~50 years, however, the STT portfolio is 70(!) times larger than the SP500 portfolio. The performance of STTs is truly astounding over the 40 year bond bull run.
That number says nothing without adjusting for yield changes. 10y yields were well above 6% in 1972 i.e. they dropped by ca. 3% until now. (FRED doesn't have 2y or 30y yields from 1972.) 3 * 15.5 * 1.35 -> ca. 63% performance boost from valuation changes. 70 / 1.63 -> 43 (4300%) would be the yield-adjusted performance. I'm not sure if my math makes sense. Arguably we also need to adjust for expected volatility vs. historical volatility for example due to strategic changes to fed policy.
I'm not sure I fully understand. Do you mean you want to look at a sample where the interest rates begin and end at about the same value? Probably a good idea, consistent with Antti Ilmanen's suggestions in the "Understanding the Yield Curve" series. Early 1960s to now looks like a good candidate.
E.g.:

Code: Select all


Date:		2y Zero		5y Zero
1963-12-30	3.8		4.0
2023-03-13   	4.1		3.7
Actual 10+ year zero data does not go back this far. I can "cheat" and use the NSS fit anyway for the 15y zero, but 1961-1972 yield data for the 15y zero has to be taken with considerable skepticism. We can pick a date with the closest match across all maturity buckets. I am not sure what you mean by adjusting for expected volatility vs historical volatility, and how I should implement this in the backtest.
What I was trying to say is, I think a chart like the following from this https://www.simplify.us/blog/efficient- ... -investing paper is useful for comparing the returns of different tenors of treasury futures.

Yes to eliminate the effect of yield changes, you can select a starting point and end point that have similar or equal yields; but you would only have very few data points available that way. So I think what can be done instead is separating the "carry" returns from the returns due to yield changes. Yields are fluctuating, range bound, and have mean reverting tendencies; but they are hard to predict for a specific point in time. In the long run, the longer the time horizon, the effect of carry will dominate the effect of yield changes. Therefore - unless you try to time the market with interest rate predictions - you could arguably say that the carry leads to a better estimate of future returns.

I have not thought this completely through, but I think other than a per decade or similar segment chart like the Simplify below, it should also be possible to create performance time series or charts on the timeline that eliminate the effect of yield changes, right? So if the yield of the 9.75y treasury is x% at time T, and after a time t later (e.g. 1 quarter) it is at (x+y)%, and the 10y treasury's return was r between T and T+t, then the contribution of yield change to the return was -y * duration. So you would add y * duration to r to arrive at the return adjusted for yield change (i.e. as if the shape of the yield curve had stayed constant between T and T+t). You could eventually create a performance chart agnostic of yield changes. That way you could compare carry returns over time for a particular treasury tenor, and you could also compare returns of different treasury tenors (2y, 5y, 10y, etc.) that are not biased because of curve steepening or flattening during your backtesting period.
If and when starting end end yield are the same, all the adjustments over that time frame would add to zero.
I hope that makes sense, I'm just thinking loud.

Image
This strikes me as a problem related to forward rates:

Notation:
y(n) is the zero coupon yield at tenor n. I will assume an unchanged yield curve, so no subscripts for time-dependence.
par_val=1000 (or 100, does not matter)

The forward rate using Gurkaynak notation (other authors use different notation, but I find this easiest for me to understand).
This is the t-year rate beginning in T-years:

f(T,t)=(1/t)*[(T+t)*y(T+t)-T*y(T)]

Let T=9.75 and t=0.25, so that T+t=10.

Price of the 10 year zero when purchased: par_val*exp[-(T+t)*y(T+t)]

Price of a 9.75 year zero, the price of our 10 year zero after 0.25 years if the yield curve does not change: par_val*exp[-T*y(T)]

Return, assuming no change to the yield curve:
return = {par_val*exp[-T*y(T)]}/{par_val*exp[-(T+t)*y(T+t)]} = exp[(T+t)*y(T+t)-T*y(T)]

log[return] = (T+t)*y(T+t)-T*y(T) = t*f(T,t).
I.e., this forward rate f(T,t) is the growth rate for an unchanged yield curve scenario.

It looks like the log return of the zero is equal to the t-year rate beginning in T years hence, times the holding period if the yield curve does not change. Or in other words, the growth rate of the 10 year zero as it rolled down (or up) the curve is equal to the 3 month bill rate, starting in 9.75 years.

Couldn't you multiply the log return by the leverage factor (needed to make all tenors the same duration), and subtract financing cost, which is y(t)*(leverage-1) to get the returns for shorter durations in an unchanged yield curve scenario? If I am cancelling out any returns due to yield curve changes, isn't it just this simple?
couldn't afford the h | | BUY BONDS | WEAR DIAMONDS
comeinvest
Posts: 2097
Joined: Mon Mar 12, 2012 6:57 pm

Re: HEDGEFUNDIE's excellent adventure: Federal Funds Rate side discussion

Post by comeinvest »

unemployed_pysicist wrote: Tue May 23, 2023 2:46 pm
comeinvest wrote: Sun May 21, 2023 6:05 pm
unemployed_pysicist wrote: Sun May 21, 2023 5:16 am
comeinvest wrote: Sat May 20, 2023 9:41 pm
unemployed_pysicist wrote: Sat May 20, 2023 7:06 am Now, looking at the STT portfolio, there is a 95% drawdown from 1977 January to 1981 November, and ~95% drawdown from the start value. Ouch! In roughly 10 years, you would have lost 95% of your initial investment :(

After ~50 years, however, the STT portfolio is 70(!) times larger than the SP500 portfolio. The performance of STTs is truly astounding over the 40 year bond bull run.
That number says nothing without adjusting for yield changes. 10y yields were well above 6% in 1972 i.e. they dropped by ca. 3% until now. (FRED doesn't have 2y or 30y yields from 1972.) 3 * 15.5 * 1.35 -> ca. 63% performance boost from valuation changes. 70 / 1.63 -> 43 (4300%) would be the yield-adjusted performance. I'm not sure if my math makes sense. Arguably we also need to adjust for expected volatility vs. historical volatility for example due to strategic changes to fed policy.
I'm not sure I fully understand. Do you mean you want to look at a sample where the interest rates begin and end at about the same value? Probably a good idea, consistent with Antti Ilmanen's suggestions in the "Understanding the Yield Curve" series. Early 1960s to now looks like a good candidate.
E.g.:

Code: Select all


Date:		2y Zero		5y Zero
1963-12-30	3.8		4.0
2023-03-13   	4.1		3.7
Actual 10+ year zero data does not go back this far. I can "cheat" and use the NSS fit anyway for the 15y zero, but 1961-1972 yield data for the 15y zero has to be taken with considerable skepticism. We can pick a date with the closest match across all maturity buckets. I am not sure what you mean by adjusting for expected volatility vs historical volatility, and how I should implement this in the backtest.
What I was trying to say is, I think a chart like the following from this https://www.simplify.us/blog/efficient- ... -investing paper is useful for comparing the returns of different tenors of treasury futures.

Yes to eliminate the effect of yield changes, you can select a starting point and end point that have similar or equal yields; but you would only have very few data points available that way. So I think what can be done instead is separating the "carry" returns from the returns due to yield changes. Yields are fluctuating, range bound, and have mean reverting tendencies; but they are hard to predict for a specific point in time. In the long run, the longer the time horizon, the effect of carry will dominate the effect of yield changes. Therefore - unless you try to time the market with interest rate predictions - you could arguably say that the carry leads to a better estimate of future returns.

I have not thought this completely through, but I think other than a per decade or similar segment chart like the Simplify below, it should also be possible to create performance time series or charts on the timeline that eliminate the effect of yield changes, right? So if the yield of the 9.75y treasury is x% at time T, and after a time t later (e.g. 1 quarter) it is at (x+y)%, and the 10y treasury's return was r between T and T+t, then the contribution of yield change to the return was -y * duration. So you would add y * duration to r to arrive at the return adjusted for yield change (i.e. as if the shape of the yield curve had stayed constant between T and T+t). You could eventually create a performance chart agnostic of yield changes. That way you could compare carry returns over time for a particular treasury tenor, and you could also compare returns of different treasury tenors (2y, 5y, 10y, etc.) that are not biased because of curve steepening or flattening during your backtesting period.
If and when starting end end yield are the same, all the adjustments over that time frame would add to zero.
I hope that makes sense, I'm just thinking loud.

Image
This strikes me as a problem related to forward rates:

Notation:
y(n) is the zero coupon yield at tenor n. I will assume an unchanged yield curve, so no subscripts for time-dependence.
par_val=1000 (or 100, does not matter)

The forward rate using Gurkaynak notation (other authors use different notation, but I find this easiest for me to understand).
This is the t-year rate beginning in T-years:

f(T,t)=(1/t)*[(T+t)*y(T+t)-T*y(T)]

Let T=9.75 and t=0.25, so that T+t=10.

Price of the 10 year zero when purchased: par_val*exp[-(T+t)*y(T+t)]

Price of a 9.75 year zero, the price of our 10 year zero after 0.25 years if the yield curve does not change: par_val*exp[-T*y(T)]

Return, assuming no change to the yield curve:
return = {par_val*exp[-T*y(T)]}/{par_val*exp[-(T+t)*y(T+t)]} = exp[(T+t)*y(T+t)-T*y(T)]

log[return] = (T+t)*y(T+t)-T*y(T) = t*f(T,t).
I.e., this forward rate f(T,t) is the growth rate for an unchanged yield curve scenario.

It looks like the log return of the zero is equal to the t-year rate beginning in T years hence, times the holding period if the yield curve does not change. Or in other words, the growth rate of the 10 year zero as it rolled down (or up) the curve is equal to the 3 month bill rate, starting in 9.75 years.

Couldn't you multiply the log return by the leverage factor (needed to make all tenors the same duration), and subtract financing cost, which is y(t)*(leverage-1) to get the returns for shorter durations in an unchanged yield curve scenario? If I am cancelling out any returns due to yield curve changes, isn't it just this simple?
That's an interest calc, I review it in more detail later. But I think it's not quite what I meant. I meant to calculate the carry at each discrete point in time t_0, t_1, t_2, ... based on the yield curve at that respective time, the carry return between t_n and t_(n+1), and the returns from yield changes between t_n and t_(n+1). Then ignore the returns from yield changes (parallel shifts, steepening/flattening, etc.) because they can be considered either one-time effects or mean reverting. That's different from a static yield curve as it was at t_0 that I think you suggest. In the end from your data set we should be able to re-generate an "average carry" segmental histogram like the one from Simplify above; just more accurate. Other than the average historical carry per tenor, I thought it might be interesting to chart the compounded carry returns per tenor on the y axis vs. the time on the x axis - basically to see how the average or total carry return per tenor accrues over time, if that makes sense.

I'm also interested for example in returns of maturities/zero coupon tenors below 2 years, to verify the results from here viewtopic.php?p=7089752#p7089752 , and also in further "experiments" in that direction, for example examine if combining more than one maturity for example STT+ITT vs pure STT results in diversification benefits as in better risk-adjusted returns (something that the NewEdge paper refuted).

I realize that we could base all calcs either on your return data, or on yield data which imply both carry and total returns for each discrete increment of time. Either coupon bond carry and returns or zero coupon carry and returns; but I think we agreed that zero coupon time series data and results are more unbiased / less subjective as they have no arbitrary payout yields based on historical coupon rates, didn't we?
unemployed_pysicist
Posts: 137
Joined: Sat Oct 09, 2021 2:32 pm

Re: HEDGEFUNDIE's excellent adventure: Federal Funds Rate side discussion

Post by unemployed_pysicist »

comeinvest wrote: Thu May 25, 2023 11:04 am
That's an interest calc, I review it in more detail later. But I think it's not quite what I meant. I meant to calculate the carry at each discrete point in time t_0, t_1, t_2, ... based on the yield curve at that respective time, the carry return between t_n and t_(n+1), and the returns from yield changes between t_n and t_(n+1). Then ignore the returns from yield changes (parallel shifts, steepening/flattening, etc.) because they can be considered either one-time effects or mean reverting. That's different from a static yield curve as it was at t_0 that I think you suggest. In the end from your data set we should be able to re-generate an "average carry" segmental histogram like the one from Simplify above; just more accurate. Other than the average historical carry per tenor, I thought it might be interesting to chart the compounded carry returns per tenor on the y axis vs. the time on the x axis - basically to see how the average or total carry return per tenor accrues over time, if that makes sense.

I'm also interested for example in returns of maturities/zero coupon tenors below 2 years, to verify the results from here viewtopic.php?p=7089752#p7089752 , and also in further "experiments" in that direction, for example examine if combining more than one maturity for example STT+ITT vs pure STT results in diversification benefits as in better risk-adjusted returns (something that the NewEdge paper refuted).

I realize that we could base all calcs either on your return data, or on yield data which imply both carry and total returns for each discrete increment of time. Either coupon bond carry and returns or zero coupon carry and returns; but I think we agreed that zero coupon time series data and results are more unbiased / less subjective as they have no arbitrary payout yields based on historical coupon rates, didn't we?
My understanding of carry is that it is the yield plus the rolldown:
Paul Beekhuizen et. al. in Carry Investing on the Yield Curve wrote:
Specifically Koijen et al. (2015) define bond carry as the return on a government bond when the yield curve does not change during the holding period. By approximation bond carry is then equal to the yield-pick up – the bond yield minus the risk-free rate – and the roll-down – the capital gain or loss on a bond due to revaluing the remaining cash flows at the yield belonging to the shorter maturity.
Edit: I accidentally posted before I was done writing my comment.

My equation up there was meant to be the 1 quarter return assuming an unchanged yield curve, so the expected return from carry. Find this for one quarter. Then the yield curve changes in the next quarter, so you calculate a new value for the carry for that next quarter. And so on through the whole time series. Would this not be the return from carry, disregarding the returns (positive or negative) from yield curve changes? Isn't this what you're looking for? Just trying to understand, so that I can make sure I calculate the right thing :happy

I will post a specific example with numbers in a subsequent post to help clarify what I mean.
couldn't afford the h | | BUY BONDS | WEAR DIAMONDS
comeinvest
Posts: 2097
Joined: Mon Mar 12, 2012 6:57 pm

Re: HEDGEFUNDIE's excellent adventure: Federal Funds Rate side discussion

Post by comeinvest »

unemployed_pysicist wrote: Fri May 26, 2023 12:41 pm My equation up there was meant to be the 1 quarter return assuming an unchanged yield curve, so the expected return from carry. Find this for one quarter. Then the yield curve changes in the next quarter, so you calculate a new value for the carry for that next quarter. And so on through the whole time series. Would this not be the return from carry, disregarding the returns (positive or negative) from yield curve changes? Isn't this what you're looking for? Just trying to understand, so that I can make sure I calculate the right thing :happy

I will post a specific example with numbers in a subsequent post to help clarify what I mean.
Yes, then we have exactly the same thing in mind.

However thinking of it further, I'm not sure after all if charting the returns from carry at a specific maturity over time is meaningful. Because certain expectations of changes of the shape of the yield curve are already embedded by the market in the curve, and reflected in the carry. (E.g. a steep slope i.e. high carry return to "compensate" for expected rising yields in that maturity range.) So the exercise would come down to separating expected from unexpected yield changes, which is a difficult task (mildly said) - probably requires estimations of term premia - and now we have circular logic because estimating long-run average term premia per maturity was in essence the original goal.

The summary carry per maturity and time segment as in the Simplify paper might be interesting to re-create, though.

Thinking this through, I'm actually not even sure any more if the average carry per maturity is any more meaningful than just a historical risk and return statistics, even when the yield curve was steepening or flattening between the start and end points. You have to assume that "the market" thought there was a reason why the curve was steep or flat at the beginning, and at any point in time, and that "the market" anticipated certain things from carry returns and yield curve changes, that probably cannot be separated from each other. And it was certainly never a part of that expectation that you can generate gigantic risk-adjusted returns from one maturity that you cannot generate with another maturity - no matter how steep or flat the curve was at any given time. Differences in expected risk and returns are much more intricate and subtle, based on behavioral and other investor preferences and constraints, and it might only be possible to unveil them in the form of term premia based on long-term risk and return time series.

But I'm still very much interested in comparing STT vs. STT+ITT (rebalanced), and a lot more strategies that we can now examine on a duration-neutral or duration-adjusted basis with your new data set.

Also, the average carry per maturity should approach the average return over time - shouldn't it? Something we could verify.
Post Reply