Could you compare the Heston vs the Bachelier model at some point because it sounds like the Pros (aside from the Brownian vs random process between them) of Heston is similar to Bach so trying to understand the use case for model selection here, do you select the model based on the properties of the underlying instrument. Thanks.
This is great! For illiquid options using the midpoint might not be ideal since it is often very off from the fill you can get in practice. What thoughts do you have on handling this? I know you can weight point by "liquidity" like volume/open interest/tightness of bid-ask spread as you mention, but was just wondering how you would go about calibrating a pretty illiquid contract where many midpoints aren't really the "market" price
Thank you for the video! But could you please explain why when I run the monte carlo simulation of heston model with codes from your last video with the same parameters, the result doesn't match?
How does the Heston model actually play out when used for options trading? I think it is certainly beautiful as a math person, but I have heard many say the fine-tuning of the hyper parameters make the Heston model rather cumbersome to use in practice, so many just stick with Black-Scholes, or a modified Black-Scholes or use local volatility model. Also I have wondered since we are calibrating the Heston model from a price surface which was calculated from the Black-Scholes model, how can it be a better predictor? These are just some naive questions as a beginner quant. Great video thank you for your time.
It is not a problem of prediction. The sense of using option volatility quotes to get prices with black & scholes is to consistently calibrate a model (Heston, Variance gamma, etc.) to the market. Obviously none of us will price a derivative instrument better than the market does (the investment Banks models used for this purpose are very sophisticated), so your goal is to build a model that is consistent with the market for pricing new derivatives for your bank's client , which are not listed in a ordinary market.
@@michelebellipanni2373 If I understood correctly; you’re saying it is pointless to use Heston to for vanilla options and only useful for exotic options.
If the vanilla instruments you are talking about are quoted, you'll use the realized implied- volatility and the Black & Scholes formula because it's a closed form and It works Faster (time in finance Is a very importante asset) . Heston is an amazing mathematical model and gives US much more than just a price. But obviously in all these discourses it is necessary (also in the construction of stochastic models) take a position .Let's say that the use of Heston could be convenient but It depend on the purpose. (Trading, Hedging,build new instruments,ecc..) I don't know if I have explained myself well, I am an Italian student and I do my best with English.
Great topic, thank you! Could you describe the dataset you had. Did you have a historical data (if yes how long) or just actual prices with maturities?
Thanks for watching, I’ve double checked the calcs, looks ok to me - can’t tell what you mean. But if you still think there’s an error, tell me which line you think should be changed: quantpy.com.au/stochastic-volatility-models/heston-model-calibration-to-option-prices/ Thanks
@@QuantPy I think one integral formula should be changed to '$\large C(S_0, K, v_0, \tau) = \frac{1}{2}(S_0 - Ke^{-r \tau}) + \frac{1}{\pi} \int^\inf_0 \Re [ e^{-r\tau} (\frac{\varphi(\phi-i)}{i\phi K^{i\phi}} - K\frac{\varphi(\phi)}{i\phi K^{i\phi}} )] d\phi$'. I have double checked this formula with two integral form.
@@QuantPy And I have another question, some books and papers just set lambda equal to zero,but Heston original paper and your videos don't,could you explain what is the difference?
In the real world the market price of risk needs to be accounted for. There will nearly always be a difference between risk neutral value and the premium you have to pay in the market place for purchasing this product/hedge ect.
The blackscholes or Heston model does not make the assumption of positive interest rates r > 0. So you can definitely use negative interest rates, just be aware your borrowing rate is likely different from your lending rate
Awesome video! I am doing a course project on this topic. Somehow I could not get to the same integrand as yours. Mine is the same as the one shown in the paper Not-so-complex logarithms in the Heston model. How did you remove the discount factor from the second part of the integrand? Also the entry before the first part that I got is e^{-r*\tau}.
10:22 I do think it's Real(exp(-r*tau .... and not Real(exp(r*tau... We divide by phi(-i) which is E(exp(x)) under the risk neutral measure which is S0 *exp(r*tau)
Hello Jonathan. I'm facing serious issues to replicate your code. Specially those related to download data from EodHistoricalData using my API. I can't download Options Data. Can I send you the code by email, so you can fix it?
This lecture is really deep but intuitive. If I write a research paper, it will be pleasure to cite your work.
I really think he deserves more views...
This was amazing!! Could you go over how Heston model calibration for American options would look like, but with JUMPS added to the model, please?
I'll be doing SOA (Society of Actuary)'s QFI Quantitative Finance exam in a few weeks. this video connected the dots for me. Thanks so much!
Could you compare the Heston vs the Bachelier model at some point because it sounds like the Pros (aside from the Brownian vs random process between them) of Heston is similar to Bach so trying to understand the use case for model selection here, do you select the model based on the properties of the underlying instrument. Thanks.
thanks. Great informative video. what changes if instead of calls if need to calibrate for put prices?
You are amazing and exceptional ❤🎉
great walkthrough ur code thx
but still waiting for the AMERICAN Heston model!!!
This is great! For illiquid options using the midpoint might not be ideal since it is often very off from the fill you can get in practice. What thoughts do you have on handling this? I know you can weight point by "liquidity" like volume/open interest/tightness of bid-ask spread as you mention, but was just wondering how you would go about calibrating a pretty illiquid contract where many midpoints aren't really the "market" price
Probably better of removing any zero-volume options. Otherwise the calibration will probably bias the other contracts.
Hello! Are you assuming the pure expectations hypothesis at 15:15 when you say you want to use the present term structure to discount at risk free?
Thank you for the video! But could you please explain why when I run the monte carlo simulation of heston model with codes from your last video with the same parameters, the result doesn't match?
How does the Heston model actually play out when used for options trading? I think it is certainly beautiful as a math person, but I have heard many say the fine-tuning of the hyper parameters make the Heston model rather cumbersome to use in practice, so many just stick with Black-Scholes, or a modified Black-Scholes or use local volatility model. Also I have wondered since we are calibrating the Heston model from a price surface which was calculated from the Black-Scholes model, how can it be a better predictor? These are just some naive questions as a beginner quant. Great video thank you for your time.
It is not a problem of prediction. The sense of using option volatility quotes to get prices with black & scholes is to consistently calibrate a model (Heston, Variance gamma, etc.) to the market. Obviously none of us will price a derivative instrument better than the market does (the investment Banks models used for this purpose are very sophisticated), so your goal is to build a model that is consistent with the market for pricing new derivatives for your bank's client , which are not listed in a ordinary market.
@@michelebellipanni2373 If I understood correctly; you’re saying it is pointless to use Heston to for vanilla options and only useful for exotic options.
If the vanilla instruments you are talking about are quoted, you'll use the realized implied- volatility and the Black & Scholes formula because it's a closed form and It works Faster (time in finance Is a very importante asset) . Heston is an amazing mathematical model and gives US much more than just a price. But obviously in all these discourses it is necessary (also in the construction of stochastic models) take a position .Let's say that the use of Heston could be convenient but It depend on the purpose. (Trading, Hedging,build new instruments,ecc..)
I don't know if I have explained myself well, I am an Italian student and I do my best with English.
@@michelebellipanni2373 Your English is great and thanks that makes sense.
A bates extension on this would be amazing and a bit easy since it only adds the jump component!
Hi I'm not understand about what you mention, bj can combine to b and uj can combine to u, can you explain more further in detail, thank you!
Amazing! thank you so much!
what a great video so useful to me thanks.
Can you give me a lecture on SABR model ?
Great topic, thank you! Could you describe the dataset you had. Did you have a historical data (if yes how long) or just actual prices with maturities?
In the parameters, how can we set a proper x0 for each of the parameters?
thank you so much this video help me
This is great
Awesome video, but I noticed there is a mistake in one integral form, the e^rt should be e^-rt and placed before integral.
Thanks for watching, I’ve double checked the calcs, looks ok to me - can’t tell what you mean. But if you still think there’s an error, tell me which line you think should be changed: quantpy.com.au/stochastic-volatility-models/heston-model-calibration-to-option-prices/
Thanks
@@QuantPy I think one integral formula should be changed to '$\large C(S_0, K, v_0, \tau) = \frac{1}{2}(S_0 - Ke^{-r \tau}) + \frac{1}{\pi} \int^\inf_0 \Re [ e^{-r\tau} (\frac{\varphi(\phi-i)}{i\phi K^{i\phi}} - K\frac{\varphi(\phi)}{i\phi K^{i\phi}} )] d\phi$'. I have double checked this formula with two integral form.
@@QuantPy And I have another question, some books and papers just set lambda equal to zero,but Heston original paper and your videos don't,could you explain what is the difference?
In the real world the market price of risk needs to be accounted for. There will nearly always be a difference between risk neutral value and the premium you have to pay in the market place for purchasing this product/hedge ect.
@@QuantPy So in general, I can just set lambda to be zero when I use Heston model
Can you do the same for Double Heston Model ?
I have a very important question: when the rates are negative like in Europe; can the Heston model help in pricing a European type of options?
The blackscholes or Heston model does not make the assumption of positive interest rates r > 0. So you can definitely use negative interest rates, just be aware your borrowing rate is likely different from your lending rate
Awesome video! I am doing a course project on this topic. Somehow I could not get to the same integrand as yours. Mine is the same as the one shown in the paper Not-so-complex logarithms in the Heston model. How did you remove the discount factor from the second part of the integrand? Also the entry before the first part that I got is e^{-r*\tau}.
I got the same thing. do you understand how did he remove the discount factor from the second part of the integrand?
I got the same result as yours.
Thank you so much for the tutorial! I have a question if you don't mind: Can the data you used be found free in yahoo finance?
Options data can be tricky, but if you find a free resource feel free to use the data of course
@@QuantPy Where can i find the data from free resource
Thank u can you do the same with Excell data,please?
10:22 I do think it's Real(exp(-r*tau .... and not Real(exp(r*tau...
We divide by phi(-i) which is E(exp(x)) under the risk neutral measure which is S0 *exp(r*tau)
How can I apply this having yahoo finance as a parameter?
What is the unit for Kappa in the Heston Model?
variance is unitless, and so is kappa
Tried to run the Jupyter Notebook but EOD returned error message: "Only EOD data allowed for free users. Please, contact our support team"
Still error?
Hello Jonathan. I'm facing serious issues to replicate your code. Specially those related to download data from EodHistoricalData using my API. I can't download Options Data. Can I send you the code by email, so you can fix it?
Easier to read rates using pandas.read_csv using the link to download CSV file