How to automatically identify divergences or closures

Assignment Help Macroeconomics
Reference no: EM132245223

Project - TNX SPX Divergence

Project - Divergence between the 10-year Treasury Bond and the S&P 500

It is a truism in macro-finance that when there is a divergence between S&P 500 stock prices and the 10-year Treasury Bond yield, the bond market is always right. The presumption is that the stock market catches down (or up) to the bond market. That's the "always right" portion of the statement.

In this project you are to test this hypothesis. Calculate divergences between the two securities, then see how long these divergences take to close. You need to make assumptions about what constitutes divergence and re-convergence (i.e., closure).

Give a summary - or better, distribution - of these closure times. You may want to do this for different time periods, and different divergence thresholds.

Finally, assess whether it's bonds or stocks that are moving the most to converge each divergence.

In your write-up, before describing your methodology and results, please provide an explanation for why the hypothesized "bond market always right." You don't have to refer to any equity valuation theories, but you may.

What follows is some R code to do a decent chunk of the background work for you. It's decently written, but not totally awesome. I've left out a bunch of plot labels and titles. Use this code, or not, as you wish. I'm posting the knitted version of this as a PDF, plus also the code as a .RMD (R-markdown) file.

If you DON'T know R, I'd suggest partnering with one or more people who do. If you have a particular request for a plot, etc. let me know and I'll try to accommodate you. You can do a lot of this in Excel, actually, but then you'd be replicating work I've already done.

If you DO know R but need help with your code, let me know. Or ask Ken Z. or Cassie K. or Seth U. to help you - it'd be good for them.

Next Steps -

1. Figure out how to automatically identify divergences/closures. This isn't that hard.

2. Figure out how long each divergence/closure episode lasts. This also isn't hard, if you do the first part right.

3. Calculate the probability of divergences closing within various time frames. Hint: plot distribution of divergence closure times.

4. Change around the thresholds you're using, or the date ranges, or both.

5. (Part of the actual assignment, but a bit harder) Identify the manner in which divergences are closed - does SPY move to match back up with the ˆTNX cumulative return, or vice versa? It'd usually be a combination of both.

6. (Completely optional, but fun) Ignoring trading commissions and slippage, calculate your average annual return from putting on this divergence trade. At the start of the divergence go long ˆTNX (or short the corresponding T-bond ETF, or long the corresponding inverse T-bond ETF) and short the SPY. Or do the reverse if it's the bond cumulative return that's below the SPY cumulative return.

Be clear about whether you are reinvesting your proceeds or not. Note: this is a little bit of a trick question. Think about it before you do any fancy calculations.

Attachment:- Assignment Files.rar

Reference no: EM132245223

Questions Cloud

Offered by the federal fair credit reporting act : Which of the following credit reporting protections is offered by the federal Fair Credit Reporting Act?
Create activities to be used to enhance emergent literacy : Create two activities to be used to enhance emergent literacy,for toddlers.
Compute the? bond yield to maturity : The market price of the bond is ?$1,115?, and the?market's required yield to maturity on a? comparable-risk bond is 9 percent.
Discuss the risks and liabilities of tort law : TLG has scheduled another meeting with the GC owners to further discuss the risks and liabilities of tort law. This meeting will focus specifically on product.
How to automatically identify divergences or closures : ECON 426 Project - TNX SPX Divergence. Project - Divergence between the 10-year Treasury Bond and the S&P 500. How to automatically identify divergences
Analyze how tesla co-opted numerous stakeholders : Analyze how Tesla co-opted numerous stakeholders, including customers, regulators, and competitors to succeed.
What is the yield to maturity on this? bond : The Saleemi? Corporation's ?$1,000 bonds pay 7 percent interest annually and have 9 years until maturity. You can purchase the bond for ?$935.
How tesla understood the profit logic of its business model : Explain how Tesla understood the profit logic of its business model and built the capability needed to execute it
Determine the yield to maturity : a. Determine the yield to maturity. b. What is the value of the bonds to you given the yield to maturity on a? comparable-risk bond?

Reviews

Write a Review

Macroeconomics Questions & Answers

  What do you think tax rebates would stimulate

It is proposed that Congress pass a fiscal stimulus package that includes tax rebates for individuals. Is this Keynesian or Monetarist policy. What do you think tax rebates would stimulate the economy.

  Estimate equilibrium price and output

Compute the monopoly equilibrium. Compute the consumer surplus. Assume this firm practices two-parts tariffs, Compute the optimal output.

  Explanation of import tariff and export quota

Write a brief explanation of each of the following terms. import tariff, effective rate of protection

  Explain how many hours of work is the consumer working

Explain how many hours of work is the consumer working. What is her income.

  Explain the feds action to try to correct the recession

Summarize the views of economists Richard Gill on what the Fed's actions during the Great Depression. What led to the Accord of 1951? What did the Accord do? Explain the Fed's action to try to correct the 2008 Recession.

  Explain how did the monopoly arise

research information on companies that have engaged in monopoly behavior, such as Microsoft, Google, or Wal-Mart, and explain how society has been affected by the monopoly behavior using that information.

  Pairs of food and clothing

Jane has £500 a week to spend on food and clothing. The price of food is £10 and the price of clothing is £25. Which of the following pairs of food and clothing are in Jane's choice set?

  Illustrate what happens in the market for apartments

Illustrate what happens in the market for apartments when the government institutes a price ceiling that is lower than the market price. What could be some actions taken by renters and landlords when dealing with a price ceiling.

  At what effective interest rate are these terms equivalent

The cash price of a machine tool is $3500. Thedealer is willing to accept a $1200 down payment and 24end-of-month payment of $110 each.

  What three tools could the fed use to achieve the goal

Monetary policy is action taken by the Fed to influence the level of real GDP. Suppose the Fed wants to increase the money supply. What three tools could the Fed use to achieve this goal?

  What are three to five macroeconomic variables

What are three to five macroeconomic variables that affect the demand for and/or supply of the products or services produced by Verizon Wireless?

  Why is a country appreciation of its currency

Why is a depreciation of a country currency not necessarily a bad thing?.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd