I need to calibrate a stochastic volatility model on freight option market prices.
The Heston Model is a stochastic volatility model which is driven by two stochastic processes: the underlying and the volatilty. It has five parameters (mean reversion rate, long run average price variance, volatility of the volatility, instantaneous variance and correlation between the two processes) which need to be calibrated and is implemented via Monte-Carlo method. The code for a Monte-Carlo Heston Call is available.
The data on market prices consists of spot prices, strike price, risk-free interest rate, time in years and market prices of the freight options. All data is available.
The calibration method is differential evolution, a global optimizer that iteratively optimizes a problem. The code and an example for the optimization of the ackley function (two parameters) is available.
The code for the differential evolution needs to be applied on the Monte-Carlo Heston Model. It shouldn't take long to combine these codes into one.
I'm looking forward to your answer.