Sunday, April 13, 2008

Dynamics of Texas Hold 'em and Financial Markets

I recently started getting back into the wonderful poker game that is Texas Hold 'em. I used to play on and off, but only within the past few months have I begun to see the true beauty of the game. As a financial mathematics student, I already have an affinity for its many dynamics. My rudimentary thought is that poker is not unlike the financial markets. The inherent concepts and strategy of the game make it remarkably similar to trading in financial markets.

Making decisions in a poker game depend on several factors. Among others, this can include:

1. Current state - how much information you have at any given time about your table, the strength of your hand or current position.
2. Position - the position you are in and your current financial position.
3. Betting - the amount and timing of your bets into the pot.
4. Predictions - Your read on what other players are holding.
5. Implied odds/pot odds - the odds of your hand winning at any given time, and how much you can potentially win with respect to how much you bet.
6. Player psychology - making decisions based on how others generally react to certain stimuli, e.g. is on person likely to fold his hand if I raise, or should I slow-play this hand to maximize my potential profit?

All of this information forms an optimization problem that gives you an optimal decision rule at any given time. Based on your position at the poker table, at any given time, you have a certain amount of data. This data, combined with either your aggressive or passive stance determine your decision rules during the game. The rest of the game is more or less stochastic and depends on the cards dealt and the play of others. You then base your subsequent decisions using all of this information and this becomes an iterative process.

Does this not sound familiar? If you are trading in financial markets, your decisions are based on exactly these types of rules. Here's an analog to the rules listed above applied to investing:

1. Data - be it company financial statements, historical data and trends (technical analysis), insider knowledge, etc.
2. Position - Your current financial situation and deciding the optimal time to execute trades
3. Preferences - the type of security you want and the amount you'd like to invest
4. Market knowledge - determining what other agents in the market are doing
5. Probabilities - calculating if it is worth it to make a particular investment, and how to maximize the probability of profit
6. Market psychology - how markets react to certain stimuli, e.g., is there a herd mentality among agents?

People invest optimally by making decisions based on having this type of information. In poker, most players make decisions based on what is optimal to them at the time, and how optimal others are playing. I find it very interesting that agents at the poker table as well as in the markets are acting based on similar strategies. Of course, there is always a certain level of sub-optimal decision-making, and this is perhaps where arbitrage opportunities exist on a skill-based level. However, there is of course a certain level of stochasticity in the markets and during a poker game as well, which confirms an element of luck is involved to some extent in order to become profitable. Eventually, I would like to look more in depth into the dynamics of poker and financial markets. Interesting stuff, eh?

Friday, April 4, 2008

Pricing American-style Options Using the Least-Squares Monte Carlo Approach

Pricing American-style options has been an important issue in modern finance for a very long time. In theory, an American-style option allows the holder to exercise at any point up to its expiration. This differs from a European-style option in which the holder can only exercise at the expiration date. This basically means that an American option is harder to valuate and is also more valuable, in general. With the Black-Scholes framework, the PDE for a European option has a fixed boundary and can be solved analytically. In contrast, an American-style option has a moving boundary condition, which prevents it from being solved analytically (however, a solution may have been found recently - I'll look into this some more). Thus, one must use numerical methods to approximate values for American-style options.

The most common numerical methods for approximating American options are:
1. Finite difference schemes, and
2. Monte Carlo methods

Throughout this semester, I have looked closely at one method of approximating values for American-options using Monte Carlo methods. The technique was developed by Longstaff and Schwartz (2001) in their paper entitled "Valuing American Options by Simulation: A Simple Least Squares Approach".

To understand their approach, one must realize that the holder of an American option must decide optimally at what point to exercise. That is, at every discrete time step, he must ask himself: Should I exercise now, or continue to hold the option (in hopes of getting a better payoff in the future)? This notion is the very basis behind finding the optimal exercise strategy and consequent value of an American-option. The Least Squares Monte Carlo (LSM) approach determines an approximation to this optimal stopping strategy to value the option, and the empirical results have been very good.

The idea is simple: after randomly generating many stock price paths using Monte Carlo methods, use least squares regression to estimate the conditional payoff to the option holder from continuation. This will allow the holder to compare the payoff of his option from immediate exercise to the expected payoff (found using the regression) from continuation. Naturally, if his expected value from continuation is higher than immediate exercise, he will avoid immediate exercise and continue the life of the option. In this way, the algorithm works backward from the final time step, say N, and creates a regression with time step N-1. The optimal stopping strategy is determined, and then this process is repeated with a regression of time N-1 and N-2. This continues until the optimal stopping strategy is found all the way to time 1. One can then average over these values and the price of the American-option is determined.

The results of this approach (in comparison with those using finite difference schemes) have been very similar. We receive a result that converges to an approximate solution close to the "true" value of the option found using the finite difference schemes, however, it appears the LSM approach necessarily underestimates the value of the option very slightly. This is because we use a finite set of basis functions for the regression and we are finding an approximation to the optimal stopping rule, and not the optimal stopping rule itself.

I could go much more in depth into the math and theory behind the LSM approach and its results, but I'll spare the reader. The purpose of this post is to show that the LSM algorithm is indeed an efficient and relatively simple way to approximate the value of an American-style option. Coding the method is easier than coding finite difference schemes and results are almost as good. Using MATLAB, most trials took up to 20 or 30 minutes max using 100,000 stock price paths generated using Monte Carlo methods and 50 discrete time steps. My trials were completed on my Toshiba laptop (2 GHz Centrino, 1 GB RAM). One would most likely get a convergence result faster coding the LSM algorithm in C++ or FORTRAN.

Sunday, January 27, 2008

The Economic Stimulus Package

So the basic idea is that the economy is heading into (may already be in) a recession. Personally, I think we're already in it. The subprime crisis and global credit squeeze has really shaken up the markets. Stocks (not including short term jumps due to interest rate cuts) are falling, volatility is very high, and people are not borrowing and lending as much. The Fed decides to cut rates substantially in an attempt to soothe the panic in the markets. This may be a short term solution, but it really does not alleviate long term problems. Next, the government decides to implement an economic stimulus package, which involves giving around $150 billion in tax relief and other incentives to roughly 120 million homes in the U.S.

Isn't there something fundamentally wrong with this picture? Does this not exacerbate the huge deficit that we currently have? A study was recently conducted by Joseph Stiglitz (a Nobel Laureate and Columbia University professor) and Linda Bilmes (a Harvard University budget expert) claiming that the true cost of the Iraq war will be around $1 - $2 trillion dollars. That is about 15% of our entire GDP! With these kinds of budgetary atrocities and the consistent depreciation of the dollar, is it really possible to help the economy by spending more money?

Saturday, December 29, 2007

A Simple Case For Active Portfolio Management

Over the last 30 years, a lot of empirical research has been conducted regarding successful active portfolio management and persistence in returns. Most of these studies began after the CAPM model was introduced, which of course provided the fundamental framework for performance analysis of managers. So are the top managers skillful, or just lucky? Moreover, does their performance persist over time? These are some of the questions addressed by such empirical studies. In the end, most of these studies give mixed results at best - some claim it is possible to achieve excess returns consistently, while others claim it is not.

Before going any further, it may be a good idea to differentiate between active and passive management styles. A passive management strategy would entail making very few decisions thus allowing for low transaction costs. Investing in an index fund would be considered a passive strategy. Conversely, an active management strategy involves making many calculated decisions and investments with the final goal of outperforming a benchmark index, such as the S&P 500. This style of management tries to exploit any potential arbitrage opportunities to make a profit.

A major case against active management is the Efficient Market Hypothesis, which basically states that markets are completely efficient because one cannot have superior information than another, thus arbitrage opportunities do not exist. I may not have empirical data of managerial performance over time, but I think it is very obvious such arbitrage opportunities exist and that active management can indeed be profitable. My very simple argument is this: if active management did not yield returns in excess of the benchmark indices, what explains the existence and profitability of the many hedge funds across the US? These active managers must be doing something right. In addition, I think investors do not always act rationally. For example, I know there are many people that invest in a particular asset simply because others are investing in it - this does not seem very rational. This may allow for inefficiencies in the market to occur, creating arbitrage opportunities.

Of course, the hard part is finding these inefficiencies in the market, and exploiting them to yield excess returns consistently.

Tuesday, November 27, 2007

The Equity Premium Puzzle and Stephen J. Fisher's Explanation

The 'equity premium puzzle' is a term coined by the economists Rajnish Mehra and Edward Prescott regarding the observation of anomalously higher historical returns of stocks over government backed, risk-free bonds, or T-bills. It is supposed to reflect the relative risk of stocks compared to government bonds, but the puzzle arises because this unexpectedly large value implies a high level of risk aversion among investors, which is questionable. General utility based models of asset prices have trouble empirically fitting and explaining why the T-bills rates are so low and the risky equity rates so high. In the United States from 1889 – 1978, the mean return on a T-bill was around .8% and the mean return on equity was 6.98%. Thus, the observed equity premium, defined as equity returns less bond returns, is around 6.18%, which is far higher than standard models predict. There has been extensive research conducted and a variety of useful theoretical ideas and plausible explanations have been presented, but a generally accepted solution does not yet exist.

Many research papers have been presented to mitigate the low equity premium found through modeling. Hansen and Jagganathan put criteria on the preference structure as a possible solution to the puzzle. Campbell and Cochrane used a habit persistence model in which one analyzes a household’s consumption in the past and/or analyzes household consumption with respect to the aggregate per capita consumption (the “keeping up with the Jones’” approach). They allow the degree of relative risk aversion to be time varying and countercyclical and come up with some encouraging results and possible explanations. Many other explanations have come about in recent years, however, I have not had chance to study these yet.

I recently studied a model and possible explanation by Stephen J. Fisher (1994) that attempts to explain the historical size of the U.S. equity premium by analyzing gross and net returns accruing to agents. He augments Mehra and Prescott’s standard model with a bid-ask spread, then calibrates and simulates the results using real world data. This is a Lucas model which basically converts an infinite horizon problem into a two-period recursive expression and maximizes utility for agents in the economy who need to allocate their consumption, stock holdings, and bond holdings (I have left out the math calculations here). Fisher acquires and equity premium in the range of 3 – 4 % using plausible data inputs and parameters. Fisher basically argues that since agents incur an expense to trade, they need to be compensated with higher expected gross returns. Shorter holding periods for securities imply higher turnover rates. Thus, higher transaction costs are a direct result of increased turnover and actively managing one’s portfolio. This implies rational agents require higher expected returns. Thus, the equity premium should consist of a trading cost compensation component in addition to the risk component.

This paper illustrates some convincing evidence for why equilibrium asset pricing models should consider the bid-ask spread in calculating the equity premium and distinguish between gross and net returns. A 4% equity premium using plausible data inputs can be found in comparison to Mehra and Prescott’s .38%. Thus, the equity premium calculated through this paper is far closer to the historical 6.18%. The GMM (General Method of Moments) procedure by Hansen that Fisher also uses provides supporting results for his claims. The bid-ask spread estimates appear to dominate risk related parameters as determinants of the equity premium.

One has to wonder why a bid-ask spread or transaction costs have not been implemented into the standard models in some way or another. These variables are clearly a factor in one’s investment decisions. Furthermore, one would think that it is likely people invest more in modern times in comparison to the past since there is more liquidity, far better technology, and thus lower transaction costs. However, the equity premium puzzle utilizes data accumulated over the last century. Therefore, it may be a good idea to at least explore the relation between trading volume, transaction costs, and expected returns in more detail over time. The results of this paper are encouraging in finding a generally accepted solution to the equity premium puzzle, and individuals researching this elusive concept should take note of Fisher’s results.