That's interessant that you post it, I have exactly the same problem!
1) How to use exactly the same Squared Error loss function (Link:Estimation process/Calibration ) to achieve the goal of minimizing Modellprices and Marketprice difference and to achieve an approximation to the marketprices curve.
"NMinimize" only gives me my initial parametervalues back, but not optimizing them as I would like to see, as the theory is explaining...
"FindFit" sounds like a good solution:
2) How to loop the HestonCallMod a certain amount of times to achieve this approximation and to get results for our five dimensional parameterset (?(vol of variance);?(mean of long run variance; ?(mean reversion speed);V(0)(initial variance;?(correlation))
"Do" could workout somehow... but how^^ I am trying days now...
Philipp, thanks for starting this discussion round. Calibration and optimization is kind of tricky!
Attachments: