I’ve always toyed with the idea of buying one of the Grant’s Interest Rate Observer cartoons.  The latest issue is out and here’s the new cartoon:

You can see the full archive of cartoons here.

I posted a script along with the Permanent Open Market Operation dataset that was designed to process the POMO XML data from the NYFRB historical data interface.  However, this script required you to have already downloaded the data and put it in the proper location.

I’ve updated the script so that the most recent data is automatically retrieved directly from the NYFRB interface.  You can get the code below:

It seems like many of my posts lately have been critical of others lately (#1: POMO, #2: Dollar / Gold, #3: Twitter ).  On the downside, everybody wants to get along and nobody makes friends on the attack.  On the upside, it’s good for plenty of site hits and provides two sides to a discussion.

So what the hell, here it goes – here’s why I think the ZeroHedge submitted/accepted ratio post gets it wrong. (Note that all of the analysis, both here and by John Lohman, suffers from an in-sample issue.  None of this is really a strategy that could be implemented without information about the submitted-to-accepted ratio in advance.  This may still be profitable if you took the positions at 11am instead of 9:30am, but none of the data we’re providing proves it.  I will be performing real intraday analysis with out-of-sample backtesting in the  paper I’m working on right now).

First of all, I think John Lohman’s logic is mostly right in the hypothesis.  If the “conspiracy theory” is really true, then the ratio of submitted-to-accepted should be proportional to the market’s return.  However, there are a few points I’d like to make for rigor’s sake here.

  • First, why can’t PDs go short too?  Maybe it makes more sense to put the absolute value of the market’s return on the LHS, dropping the sign. (Hint: See below if you want the answer!)
  • Second, there are a number of alternate hypotheses that are not conspiracy-like that could also result in this proportional relationship.  Maybe market participants just take some days of the week off, and the Fed chose to schedule POMO on days that would have higher liquidity anyway.  If you were Brian Sack, wouldn’t you want to schedule these operations on days where the most PDs would participate or they would be best staffed?
  • Third, just to emphasize it again, neither John nor I are actually presenting these analyses as something you can take to the market.  The submitted-accepted ratio comes out after the operation begins, which is never before 9:30am, which means you could never realize the returns we’re showing precisely.  For a strategy you can actually execute, see yesterday’s post (but don’t assume it’s profitably stable).
  • Fourth, I’ve switched from submitted-to-accepted to accepted-to-submitted.  This makes everything easier to see and interpret.

OK, so again, John’s logic is decent enough.  If I had to guess, Tyler at ZH likely added his own emphasis to the post “for effect,” which might have masked some of John’s real tone.  So down to the brass tacks and the data.  First of all, I’m using the SPY for the S&P 500 and my POMO dataset for information on the submitted-to-accepted ratio.  I’m also publishing the Matlab code here, just for full disclosure sake.

Now, if you run this code, you’ll see the following two scatter plots pop up.  The red are the bottom third of the POMO operations by accepted-to-submitted ratio, the blue are the middle third, and the green are the top third.

OK, so it looks like there’s definitely something going on for the dollar volume.  However, the story for the return is a little bit more fuzzy.  It appears that the spread increases as the accepted-to-submitted ratio increases, but not necessarily that there is a strong direction to the sign.  Maybe, as I mentioned above, the magnitude of the return is what’s  proportional, not just the value.  As you can see in the Matlab code, I fit a simple GLM for each of these and get the following:

  • log(close) – log(open) ~ accepted/submitted ratio: The coefficient on the ratio is slightly positive (0.0066, +-0.0047) but the t-stat is 1.4.  No go.
  • log(dollar volume) ~ accepted/submitted ratio: The coefficient is on the ratio is definitely positive (1.75, +-0.18) and the t-stat is 9.6.  This conclusion is definitely supported – the ratio of accepted-to-submitted is proportional to the total dollars traded on SPY.
  • abs(log(close) – log(open)) ~ accepted/submitted ratio: In this case, the coefficient is definitely positive (0.0159, +-0.0032) and the t-stat 5.0.  This conclusion is also supported – the ratio of accepted-to-submitted is proportional to the magnitude of SPY’s return, but not necessarily the direction.

So there you have it – the dollar volume and magnitude of the change are statistically significantly related to the POMO accepted-to-submitted ratio, but the direction is not really guaranteed.  Much more of this to come in a research paper I’m currently working on.

I noticed that there’s been some analysis of the performance of the market on days with and without POMO from Pragmatic Capitalism.  I’ve been running some preliminary calculations for a short research paper on the topic and noticed that my numbers didn’t match up.  I’ve decided to publish some of these results.

First of all, I’m using the dataset that I published yesterday on all Permanent Open Market Operations.  There have now been 230 POMO operations, including both Treasury and agency transactions and purchases and sales.  I’m also using the performance of SPY from August 2005 to October 25th, 2010.

Furthermore, my numbers diverge from the Pragmatic Capitalism on returns.  Returns are a bit of a fuzzy concept, however, so I’ve tried quite a few options.

Option 1: Log(close) – Log(open) on the day of POMO.  In this case, POMO returns 13.9% with a daily std. dev. of 1.18%, whereas no POMO returns -34.7% and a daily std. dev. of 1.26%.  52.68% of POMO intraday returns are positive, whereas 51.49% of no POMO returns are positive.

Option 2: Log(tomorrow close) – Log(close).  In other words, buy at the end of a POMO day and market-on-close tomorrow.  In this case, POMO returns 8.30% with a daily std. dev. of 1.46%, whereas no POMO returns -11.4% with a daily std. dev. of 1.56%.

Option 3: Log(close) – Log(yesterday close).  This means buy market-on-close the day before POMO and sell market-on-close the day of POMO.  This strategy returns 29.5% with a daily std. dev. of 0.57%.  The alternative returns -32.7% with a daily std. dev. of 1.44%.  Clearly frontrunning POMO on SPY is profitable, but we should all be clear about what we’re calculating when we talk about strategies here.

N.B.: As I mentioned, this will be part of a short research paper in the next week or so.  I’ll address whether or not these returns are stable, especially in the past few weeks, in the paper.

In the next day or two, I’m hoping to produce some comprehensive research (at least comparatively in the blogosphere) on the relationship between the S&P 500 and the Federal Reserve’s permanent open market operations. Historical data for these operations is available back to August 2005.

In order to do this, I needed to get the Fed’s POMO data into a much more reasonable format.  The spreadsheet below is the result of my work.  You can download the spreadsheet here.

As an added bonus, I’ve decided to release the Python code I used to process the NYFRB’s XML data (you’ll need lxml, too). Here it is below:

Here’s a nasty looking headline from FT’s 6am cut this morning (which is now paywalled, btw)  - European bank bail-ins will cost +87 basis points.  The article summarizes the results of a JP Morgan survey on the effect of various “bail-in” options.  Here’s JPM’s summary:

Survey responses indicated that the implementation of bail-in frameworks is likely to have a material impact on the pricing of senior debt. Firstly, respondents indicated that the greater loss outcomes associated with bail-in regimes are not being priced in, despite the existence of special resolution regimes which already may imply similar loss outcomes for senior bondholders. Secondly, the average risk premium that investors would demand for a single ‘A’ bank under a bail-in regime would be 87bp. Thirdly, investors clearly expect that the implementation of a bail-in framework will lead to an increase in price differentials across issuers of differing credit quality. In our opinion, the sum total of the implementation bail-in regimes together with the current extensive regulatory capital reform process could be a major driver of M&A activity amongst the European banking sector, as smaller and lower ratings issuers may struggle to access capital markets at levels which allows their business models to remain intact.

Yikes.

Around a year ago, Dan and I put up an animation of the major foreign holders of Treasury securities from 2002 to 2009 at my other blog, Computational Legal Studies.  At the time, the conversation was driven by China surpassing Japan as the largest foreign holder.

Since then, there’s been quite a bit of speculation as to when the Federal Reserve would surpass these largest foreign holders.  The Fed has been acquiring these securities through its various Open Market Operations (OMO).  However, I think focusing on just this Fed-vs.-China benchmark may be a bit misleading.

The animation below shows the proportion of Treasury securities held by the Federal Reserve, Japan, China, and all other foreign holders of Treasury securities between 2004 and 2010.  The Federal Reserve holdings are based on the second column of the Fed’s latest H.4.1 and are current up to October 21st.  The Treasury’s TIC data (historical here) is significantly lagged, however, and only current as of the end of August.  Therefore, I’ve held the values constant from August for foreign holders, though the Fed’s slice does change based on real data.

I’ll let the video mostly speak for itself, but note that the increase in the Fed’s holdings are relatively dwarfed by the increase in total foreign holdings.

N.B.: It’s HD, make sure the watch the video in fullscreen!

Holders of Treasury Securities, 2004-2010 from Computational Legal Studies on Vimeo.