During ESSA2013 conference I had a discussion about Cont model I have commented a year ago.
In original paper Cont highlights that his model produces distribution of returns characterized by positive excess kurtosis. In this post I want to investigate this assertion.
Cont simulation has three key parameters (check out the paper for details):
- d: standard deviation of new public information incoming to the investors
- l: market depth (this implies that maximum percentage price change is in range [-1/l,1/l])
- s: percentage of investors updating their decision threshold
We want to simulate the model with 1000 agents for 11000 periods (dropping first 1000 as warm up) and calculate kurtosis of observed returns distribution. The selected ranges of d, l and s parameters follow Cont recommendations. Here is the code that generates the data:
}, d, l, s)
Warning! The simulation takes a lot of time so I have uploaded here the file sim_output.txt containing the results. It contains four columns: d, l, s, k, where last column holds calculated kurtosis.
Now let us turn to the code that allows us to visually explore the data. I have saved the generated plots to GIF file using animation package. They show the probability of encountering excess kurtosis in generated data conditional on d, l and s.
And here is the result (d is on y-axis and l on x-axis):
We can see that s is the least important parameter and there is a non linear interaction between d and l. But most importantly – in the given range parameters excess kurtosis is not guaranteed to appear. In particular it does not happen when both d and l are large.