Showing posts with label Thesis topics. Show all posts
Showing posts with label Thesis topics. Show all posts
MOOC

MOOC

I will be running a MOOC (massively online) class this fall. Follow the link for information. The class will roughly parallel my PhD asset pricing class. We’ll run through most of the “Asset Pricing” textbook. The videos are all shot, now I’m putting together quizzes… which accounts for some of my recent blog silence.

So, if you’re interested in the theory of academic asset pricing, or you’ve wanted to work through the book, here’s your chance. It’s designed for PhD students, aspiring PhD students, advanced MBAs, financial engineers, people who are working in industry who might like to study PhD level finance but don’t have the time, and so on. It’s not easy, we start with a stochastic calculus review!  But I’m emphasizing the intuition, what the models mean, why we use them, and so on, over the mathematics.

Two seconds

The weekend wall street journal had an interesting article about high speed trading, Traders Pay for an Early Peek at Key Data. Through Thompson-Reuters, traders can get the University of Michigan consumer confidence survey results two seconds ahead of everyone else. They then trade S&P500 ETFs on the information.


Source: Wall Street Journal

Naturally, the article was about whether this is fair and ethical, with a pretty strong sense of no (and surely pressure on the University of Michigan not to offer the service.)
It didn’t ask the obvious question: Traders need willing counterparties. Knowing that this is going on, who in their right mind is leaving limit orders on the books in the two seconds before the confidence surveys come out?

OK, you say, mom and pop are too unsophisticated to know what’s going on. But even mom and pop place their orders through institutions which use trading algorithms to minimize price impact. It takes one line of code to add “do not leave limit orders in place during the two seconds before the consumer confidence surveys come out.”

In short, the article leaves this impression that investors are getting taken. But it’s so easy to avoid being taken, so it seems a bit of a puzzle that anyone can make money at this game. 

I hope readers with more market experience than I can answer the puzzle: Who is it out there that is dumb enough to leave limit orders for S&P500 ETFs outstanding in the 2 seconds before the consumer confidence surveys come out?
Crunch time

Crunch time

David Greenalw, Jim Hamilton, Peter Hooper and Rick Mishkin have a nice op-ed in the Wall Street Journal summarizing their recent paper, Crunch Time: Fiscal Crises and the Role of Monetary Policy, (The link goes to from Jim’s website there is also an executive summary.)

David, Jim, Peter and Rick are after the same question in my last WSJ oped and Blog post: Suppose the Fed wants to raise interest rates with a huge debt outstanding. With, say, $18 trillion outstanding, raising interest rates to 5% means raising the deficit by $900 billion a year. That’s real fiscal resources. In a present value sense, monetary tightening costs someone $900 billion a year of taxes.  There is no chance that current tax revenues can go up that much, or current spending can go down that much. So, raising interest rates to 5% with a lot of debt outstanding means we will borrow it, the debt will grow $900 billion a year faster, and the larger taxes /lower spending will come someday in the far off future.

Or maybe not. David,  Jim, Peter and Rick delve in to the “tipping point” I alluded to.

Countries with high debt loads are vulnerable to an adverse feedback loop in which doubts by lenders about fiscal sustainability lead to higher government bond rates, which in turn make debt problems more severe.

Southern Europe was basically on a similar death spiral until the ECB stepped in and said it would print euros to buy up any debt as needed. The big contribution of the paper: facts.
Using statistical methods, case studies and a wealth of recent data on fiscal crises, we have found that countries with gross debt above 80% of GDP and persistent current-account deficits—as is currently the case in the United States—face sharply increasing risk of escalating interest payments on their debt. This means even higher budget deficits and debt levels and could lead to a fiscal crunch—a point where government bond rates shoot up and a funding crisis ensues.
The vitally important point: it’s nonlinear. Evidence from times and countries with lower debts does not apply.

When the Fed raised real rates in the late 1970s, Federal debt was “only” 32% of GDP. Interest payments did swell, from 1.5% to 3% of GDP, accounting for more than half of the Reagan deficits. And long-term real interest rates were high for a decade, usually interpreted as the market’s worry that we would go back to inflation, which is the same thing as saying that the government might not have the stomach to pay off all this debt. But strong growth and tax reform led the US to large primary surpluses, and we paid off that extra debt.

We go in to this one with over 100% debt to GDP ratio, and much weaker growth prospects. The experience of how “easy” tightening was in the early 1980s should not lull us in to a sense of security.

They made a small, but I think crucial omission:
With sufficient political will, the U.S. government can avoid fiscal dominance and achieve long-run budget sustainability by gradually reining in spending on entitlement programs such as Medicare, Medicaid and Social Security, while increasing tax revenue by broadening the base.
Quiz question: What’s missing here?

Growth. Tax revenue = tax rate x income. You can broaden the base as much as you want, without economic growth the long-term US budget is a disaster. And the current alarming projections assume that we will, someday, return to strong growth. All the reining in, soaking the rich, and base broadening in the world will not save us without growth. We prescribe “structural reform” for Greece. Why not for the US? 

Note to graduate students. The theory here is actually less well worked out than you think. Suppose the Fed follows a Taylor rule, hoping to control inflation by raising interest rates when inflation breaks out. But suppose there is a Laffer limit on taxes, total tax revenue is less than T. In this paper and my own speculations there is a conjecture that inflation can get out of control, and a sense of multiple run-prone equilibria, and a sense that current debt/GDP is an important state variable. It needs better working out.

Weird stuff in high frequency markets

On the left is a graph from a really neat paper, “Low-Latency Trading” by Joel Hasbrouck and Gideon Saar (2011). You’re looking at the flow of “messages”–limit orders placed or canceled–on the NASDAQ.  The x axis is time, modulo 10 seconds. So, you’re looking at the typical flow of messages over any 10 second time interval.

As you can see, there is a big crush of messages on the top of the second, which rapidly tails off in the milliseconds following the even second. There is a second surge between 500 and 600 milliseconds.

Evidently, lots of computer programs reach out and look at the markets once per second, or once per half second. The programs clocks are tightly synchronized to the exchange’s clock, so if you program a computer “go look once per second,” it’s likely to go look exactly on the second (or half second). The result is a flurry of activity on the even second.

 It’s likely the even-second traders are what Joel and Gideon call “Agency traders.” They’re trying to buy or sell a given quantity, but spread it out to avoid price impact. Their on-the-second activity spawns a flurry of responses from the high frequency traders, whose computers monitor markets constantly.

There’s a natural question: Is this an accident, or is there intentional “on the second” bunching? You can see that a programmer who didn’t think about it would check once per second, not realizing that means exactly on the top of the second. But sometimes there is more liquidity when we all agree to meet at the same time. Volume has always been higher at the open and close.  Joel and Gideon show the pattern lasted from 2007 to 2008, so was not an obvious short-term programming bug.  (Do notice the vertical scale however. The range is from 9 to 13, not 0 to 13.) I’d be curious to know if it’s still going on.

Here’s another one, found by one of my students on nanex.net here. (Teaching has many benefits when the students know more about markets than you do!).


You’re looking at bids, asks, and (white dot) trades in the natural gas futures markets. From nanex:

On June 8, 2011, starting at 19:39 Eastern Time, trade prices began oscillating almost harmonically along with the depth of book. However, prices rose as bid were executed, and prices declined when offers were executed …..price oscillates from low to high when trades are executing against the highest bid price level. After reaching a peak, prices then move down as trades execute against the highest ask price level. This is completely opposite of normal market behavior….It’s almost as if someone is executing a new algorithm that has it’s buying/selling signals crossed. Most disturbing to us is the high volume violent sell off that affects not only the natural gas market, but all the other trading instruments related to it.
I’m generally give efficient markets the benefit of doutbt, but it’s hard not to suspect that some programming bugs are working against each other here. It’s hard enough to debug a program to work alone, but when 17 programs work against each other all sorts of interesting weirdness can spill out. I am reminded of work in game theory in which computer programs fight out the prisoner’s dilemma and all sorts of weird stuff erupts. If so, this will settle down, but it may take a while.

The Economist reports an interesting related story.
ON FEBRUARY 3RD 2010, at 1.26.28 pm, an automated trading system operated by a high-frequency trader (HFT) called Infinium Capital Management malfunctioned. Over the next three seconds it entered 6,767 individual orders to buy light sweet crude oil futures… Enough of those orders were filled to send the market jolting upwards.
A NYMEX business-conduct panel investigated what happened that day…. Infinium had finished writing the algorithm only the day before it introduced it to the market, and had tested it for only a couple of hours in a simulated trading environment to see how it would perform. …. When the algorithm started its frenetic buying spree, the measures designed to shut it down automatically did not work. One was supposed to turn the system off if a maximum order size was breached, but because the machine was placing lots of small orders rather than a single big one the shut-down was not triggered. The other measure was meant to prevent Infinium from selling or buying more than a certain number of contracts, but because of an error in the way the rogue algorithm had been written, this, too, failed to spot a problem. ..
High frequency trading presents a lot of interesting puzzles. The Booth faculty lunchroom has hosted some interesting discussions: “what possible social use is it to have price discovery in a microsecond instead of a millisecond?” “I don’t know, but there’s a theorem that says if it’s profitable it’s socially beneficial.” “Not if there are externalities” “Ok, where’s the externality?” At which point we all agree we don’t know what the heck is going on.

There is also the more prosaic question whether high frequency traders “provide liquidity” and thus are in some sense beneficial to markets, or if they are somehow making markets worse. A question for another day (there is some interesting new research).

There are lots of reports of how profitable it is. But high frequency trading is a zero sum game. Anything you do in milliseconds can only talk to another computer. By definition, they can’t all be making money off each other.
Consumer financial protection, 1984

Consumer financial protection, 1984

The Financial Times reports an amazing interview with Martin Wheatley, the “head of the UK’s new consumer protection watchdog.”

Investors cannot be counted on to make rational choices so regulators need to “step into their footprints” and limit or ban the sale of potentially harmful products,


“You have to assume that you don’t have rational consumers. Faced with complex decisions or too much information, they default … They hide behind credit rating agencies or behind the promises that are given to them by the salesperson,” said Mr Wheatley..

The new approach rests on research in behavioural economics that shows investors often make decisions contrary to their own interests because of their aversion to losses or unwillingness to ditch a losing strategy. It represents a profound shift in regulatory stance.

Rather than simply ensuring that consumers are provided with complete and accurate information, the FCA will be monitoring firms to make sure that the right kinds of products get sold to the right kinds of people.

I can’t wait to see the Nanny State plan to help day traders to ditch those losing stocks faster. 

Behavioral economics does not imply aristocratic paternalism. Behavioral economics, if you take it seriously, leads to a much more libertarian outlook.

Which kinds of institutions are likely to lead to behavioral biases: highly competitve, free institutions that must adapt or fail? Or a government bureacracy, pestered by rent-seeking lobbyists, free to indulge in the Grand Theory of the Day, able to move the lives of millions on a whim and by definition immune from competition?

Sure, the market will get it wrong. But behavioral economics, if you take it seriously,  predicts that the regulator (the regulatory committee) will get it far worse. For regulators, even those that went to the right schools, are just as human and “behavioral” as the rest of us, and they are placed in institutions that lack many protections against bad decisions.

More generally, the case for free markets never was that markets always get it right. The case has always been based on the centuries of experience that governments get it far more wrong. 

Serious behaviorists know this. Thaler and Sunstein’s “Nudge” is pretty careful not to jump from “people make mistakes” to “a benevolent bureacracy must take care of the charming moronic pesantry." Alas, fans of 19th century aristocratic paternalism, who call themselves "liberals” today, make the jump with alacrity. They love to (mis-) cite behavioral economics as cover for their interventions. As, apparaently,  Mr. Wheatley and the UK “protection” scheme he will now lead.

If he were to take behavioralism seriously, the interview would reveal a deep reflection on how he was going to keep his new agency from displaying all those biases likely to lead to bad decisions.

For example, his new power to tell bank A that its products are “mis-sold” will quickly and predictably lead to bank B taking his employees out to lunch to explain how terrible bank A’s products are and how it must be stopped. “Consumer protection” has quickly morphed into “protection from competitors” the world over, and the behavioral biases of regulators (salience, social networks, etc.) are part of the story. “Watchdogs” become lap-dogs.

Where are the behavioral Stigler and Buchanan? It seems high time for a thoroughgoing behavioral analysis of the functioning of government bureacracy, legislation, and regulation.

Here’s some real “financial protection” advice: Look at the elephants in the room.

The first thing the average American should do is get out of a highly leveraged, very illiquid investment that poses huge idiosyncratic risk. That’s called an “owner-occupied home.” Rent, and put the money in the stock market.  Or buy a smaller home, that you can afford. Our government is still nudging us in exactly the wrong direction

The seond thing the average American should do is save a whole lot more. Our government is pushing more subsidies for student, homeowner, and business loans, and dramatically raising the already high taxes on saving and investment. When the American consumer tried to start saving a bit more in 2008, our Government responded with massive “stimulus” whose explicit purpose was to undo this bout of national thriftiness and get us to consume more, now.

Who’s behavioral here?

Update: (response to some comments).

There is a huge difference between the justifications for regulation.  1) Protecting people from fraud. This is enforcing contracts and property rights, which is an obvious function of government. 2) Protecting people from definable and remediable market failures. That’s more tenuous, but still a justifiable form of regulation. Though it’s dangerous, see the capture exmaples, and often backfires. 3) “Protecting” people because the beuracracy just thinks it knows how to run people’s lives better than they do. This used to be called aristocratic paternalism. Now it’s defended by a misreading of behavioral economics. That’s what the post is about. I hope that helps. I see it’s an issue worth revisiting.

A brief parable of over-differencing

The Grumpy Economist has sat through one too many seminars with triple differenced data, 5 fixed effects and 30 willy-nilly controls. I wrote up a little note (7 pages, but too long for a blog post), relating the experience (from a Bob Lucas paper) that made me skeptical of highly processed empirical work.

The graph here shows velocity and interest rates.  You can see the nice sensible relationship.

(The graph has an important lesson for policy debates. There is a lot of puzzling why people and companies are sitting on so much cash. Well, at zero interest rates, the opportunity cost of holding cash is zero, so it’s a wonder they don’t hold more. This measure of velocity is tracking interest rates with exactly the historical pattern.) 

But when you run the regression, the econometrics books tell you to use first differences, and then the whole relationship falls apart. The estimated coefficient falls by a factor of 10, and a scatterplot shows no reliable relationship.  See the the note for details, but you can see in the second graph  how differencing throws out the important variation in the data. 

The perils of over differencing, too many fixed effects, too many controls, and that GLS or maximum likelihood will jump on silly implications of necessarily simplified theories are well known in principle. But a few clear parables might make people more wary in practice.  Needed: a similarly clear panel-data example.