Sunday, 18 November 2012

So you want to be a wizard...

Sometimes - and in my case very often - one stumbles across someone who is able to explain something so clearly, and so beautifully, that you just need to admire and not try to outdo. So, many will come to trading, looking to be the next market wizard. I can tell you that you have as much or less chance than you do of becoming one of the top in the world at any other highly competitive activity. But here are some posts beautifully and clearly explained. Taken from the trading forum Trade2Win, and by a poster from long ago called AlephSigmaChi 

"As far as the laws of mathematics refer to reality, they are not certain; and as far as they are certain, they do not refer to reality."

So what does Mathematics have to say about trading and prediction? One the biggest inputs into trading from mathematics is in the area of options. Here, a model is given for the dynamics of an asset price, and it is often assumed that we can model price from something called the drift (a general tendency to move in a direction over time - traders may liken this to trend), the volatility (how rapidly it changes) and some 'noisy' effect, typically a Brownian motion. Standard dynamics are often called Geometric Brownian Motion, or the Black Scholes Stochastic Differential Equation (SDE). These sort of dynamics might generate an asset price like:

And a real asset:

So the Geometric Brownian Motion seems like a reasonable model. Lots of waves up and down, not easy to predict in advance, and has a rough appearance of a real asset. And it's very simple to work with. Of course this leads to more sophisticated models, with changing volatility and drift and other factors affecting the price. It may be of interest to note that that some people believe asset prices are like a random walk. An experiment was designed by the brilliant academic Andrew Lo, you can try it out for yourself (http://arora.ccs.neu.edu/v4/indexgame.jsp?datasetid=141&gametype=play), in which he runs random data alongside real price data, and you attempt to click on the real data. You can train with the data and see if you can improve your performance at judging what is real and what isn't. There are differences, and humans can recognise them. This skill can be improved with practice.

So real data is not entirely random, it is not a random walk. It is fine to use this as a model, after all, models are not expected to replicate exactly the underlying, but are intended to be simplified versions from which we can obtain useful results. But keep in mind, in the real markets there is not really any 'noise', it is not randomly generated data, nor a random walk, there are people behind these movements actively trading. Hard to predict, but not impossible. So don't be fooled into believing what some might say regarding Efficient Market Hypothesis, random walks and so on. If these things were true, then there would be no successful traders over the long term, just statistical survivors (one may wish to read Taleb's fooled by randomness for more discussion here), while noting that some traders results are so many standard deviations away from where they should be based on random-walk theory, that we can effectively rule out this academic idea.

Saturday, 17 November 2012

"Begin at the beginning," the King said gravely, "and go on till you come to the end: then stop."


Are asset movements entirely random? Is it possible that by looking at the price of EUR/USD (amount of dollars one Euro can get you - my favourite of all the financial instruments), that on Sunday night when the market opens, the price will be 0.5, or 2 or 10? What about the Dow opening next week on 1000? Or 20,000? It should become clear, that while an extreme movement up or down is possible, some things have little or no probability of occurring within a specific timeframe. This isn't to say the Dow won't reach 20,000 one day, just not this week.

So not every outcome has equal probability of occurring. Probability gives us useful ways of measuring the likelihoods of outcomes. We can look at the history of an asset and form its distribution. Based on that we could make predictions. But the market - hence asset - behaviour changes. It's not even a constant over the course of one day. Whether that is because of new technology, high frequency trading, algos, market manipulation, screen-based traders rather than pit-based or just world circumstances, things change. So what behaviour does the market exhibit?

What makes a price go up, or down? Many people will say a price moves based on news about the underlying asset, information, features of the asset such as earnings or interest rate etc. This even appears to be true at times, as large price movements can occur at the same time or just after the news. However, this is a wrong conclusion. Much of this mistake can perhaps be attributed to post hoc ergo propter hoc thinking. Not an unreasonable approach to many things, but it is an approach that carries more than a pinch of danger, if you believe it. Connected, yes. Cause, no.

Others will say, price moves up because there are more buyers than sellers. This is getting closer to the truth, but it is still wrong. For a transaction to be made, there must be a buyer and a seller. Can't be any other way.   Yet it moves up and down regularly. So it has more to do with the willingness (and unwillingness), and urgency to trade that cause price to move. If I'm willing to buy everything for sale right now at 10, and then also at 11, 12, 13 and 14, then price will move to 14+. Not because that is its fundamental value, nor because of the news.

But won't the news cause more people to buy or sell and hence the news actually will move the market? Short answer is, not necessarily. All that really matters is the price, the price movement, and the urgency and willingness to trade at those different prices. Because that is what will move the price, not the news itself. How could it? If you don't believe this, just watch the markets for a while. It won't take long before you see a positive story that you believe should move the asset up, and you'll watch in bemusement as the market heads in the other direction, sometimes quite sharply.

So given that it requires traders being willing or needing to trade at various prices to actually move the price, then is it a big stretch to conclude that we are primarily interested in price, and trader's reactions to that price? Taken a step further, we are actually only interested in the latter, since it will determine the former. So without a great deal of assumptions, we have dispersed with news and information, and how asset prices might move randomly, and concentrated the issue down to what it really is, which is how to predict how others will react given the asset movements. How random is this?