Calculating the Implied Volatility of a Put Option Using Python

3 years ago
9

In answer to a question, I wanted to show how to calculate the implied volatility of a put option. The code I had used previously was only for a call. I want to emphasize that the method used here is much more general than just a tool to calculate volatility and so before moving on to puts, I show how to modify the code for a function I made up on the spot.

Original Video on root-finding and implied volatility: https://youtu.be/Jpy3iCsijIU
Video on issues with ITM options whose price is less than its intrinsic value: https://youtu.be/2UJ9kFqQF-s
Github: https://github.com/kpmooney/numerical_methods_youtube/tree/master/root_finding/implied_volatility

Tip Jar: http://paypal.me/kpmooney

Loading comments...