Simulation And Trading
Essay Preview: Simulation And Trading
Report this essay
Simulation and Trading.
Traders forecast future prices using some combinations of fundamentals, indicators, patterns, and behavior from the past. They hope that recent history will forecast the future helping them to make some profit. The problem, however, is that nothing that has happened in the past is any guarantee for the favorable results in the future. Basically, profitability of each trade has elements of some randomness and uncertainty. Here is the problem that many people are not equipped with enough knowledge and tools to manage uncertainty, thus mastering the psychology of trading.
At first glance trading may seem quite trivial. You just look at price chart, then buy here and sell there. But it in practice its much more complex than that. Trading is about what had happened in the past while trying to predict what will happen in the future. However, no one can precisely know the future in advance. Dealing with random outcomes from each trade, trading is a probability exercise, where a good trader biases the outcomes of each trade in his or her own favor. As, in order to succeed a trader need to have probability on his or her side. Traders use patterns from the past to forecast the future. Forecast doesnt mean certainty, but its about that we know the likely future direction of the market where we are trading. However, we can be certain that in the past when the patterns, fundamentals or indicators have been as they are now, then the probability is in our favor.
At the same time one needs to be very careful with forecasts and gut feeling about the direction of the market, so that one doesnt get into the trap of gamblers fallacy when dealing with risk and uncertainty. Some traders hold beliefs that are likely to be wrong. They say that after a string of losing trades success on the next trade is more likely, so position size on the next trade should be increased. This may or may not be true in trading, but for most random events like tossing coins, it is definitely not true. What it implies is that the probability of winning each trade is somehow influenced by the result of the previous trade. This is not true for rolling dice, flipping coins or drawing marbles from an urn – neither the coin, the marbles, nor the dice have any memory of the outcomes. Each draw or event is completely independent of the previous one. At the same time, it can also be argued that in real life each trade may not be completely independent of the previous trade. For instance, if we are trying to use a break-out system, it may be that after several failures success will follow. The problem is that we dont know in advance which trial will benefit from increased size so increasing position size may leave us with large loss. Those trying to pick up tops and bottoms may sooner or later succeed, provided they still have capital left. Thus, we need to make an unrealistic assumption that we have unlimited capital when trading.
One of the ways to deal with risk and uncertainty of trading is to use some special software that makes risk strategies simple. The common feature of those pieces of software is that they use a technique called Monte Carlo simulation. Monte Carlo Simulation in general is distinguished from other simulation methods (such as molecular dynamics) by being stochastic, that is nondeterministic in some manner – usually by using random numbers (in practice, pseudo-random numbers) – as opposed to deterministic algorithms. Because of the repetition of algorithms and the large number of calculations involved, Monte Carlo is a method suited to calculation using a computer, utilizing many techniques of computer simulation. Monte Carlo applied to trading is about letting a computer select trades randomly and collecting the results in way that gives them meaning. It is quite useful to find strategies that maximize profits while limiting draw downs (the largest decline in equity below the previous high generally expressed in percent, but can also be measured in absolute amounts). Also some pieces of software go beyond the above in order to give meaningful comparisons of trading systems.
Expectancy is sometimes recommended as a predictor of profitability. It is the probable return or profit for the next trade. It applies to a single trade. For a series of trades expectance needs to be extended in ways that are not always obvious. They way expectancy is extended to a series of trades depends on the risk strategy being used for that series of trades. If fixed risk is used then the extension is quite simple and straightforward. At the same time, if a percent of equity is being used as a risk strategy then extending expectancy is quite difficult. Its also noteworthy that all measures of expectancy have problems because they forecast only the average expected profit that might occur. Monte Carlo simulation shows the range of profit and drawdown that can expected from a series of trades.
When applying Monte Carlo Simulation, we have a series of past trade results and want to know the likely results this trading method will produce in the future if things go as they did in the past. The past two series of trades contain two important measures of success, the final profit and the draw downs that took place. In the future if the trading method produced identical returns in the same order, then ending profit and draw downs will be identical. However, this is quite unlikely, and with this degree of certainty some of the trades will be invested heavily, while others – skipped. Even if the method produces results that are statistically similar to past returns, the future returns will not exactly be the same neither in magnitude nor in the order of occurrence of wins and losses. One way to get statistical results from historic data is to sample returns randomly. Basically, it boils down to tossing the historic returns into a hat and drawing one randomly, recording the result of that trade on equity, draw down, and anything else that is important. Then replace that sample in the hat and make another draw. A series of such draws make a trial. Even though the returns in the hat are the exact same as the historic values, the order in which they are drawn is different. There is no requirement that they are supposed