Quote from freshpotato:
Hello,
I'm working on a implied volatility calculator for my new site, but are having some problems.
I have a rather lage options price database, and want to calculate implied volatility on all the options, does anyone have an idea on how to calculate iv?
Hey Freshpotato,
When you google "black scholes" you'll get the primary formula. Plug in the market's actual price then run it backwards using the other measurable inputs and solve for the only remaining unknown, namely volatility. Under those circumstances, the volatility you will have calculated is IV. Google gives wikipedia. Try this site.
http://en.wikipedia.org/wiki/Black-Scholes
(Oh yeah, there is a much simpler formula than the million dollar black scholes and it gives functionally equilivant answers. I am just too lazy at this point in the evening to get the book out of my car and find the equation. sorry. maybe i'll dig deeper if you don't get a simpler answer than what you have so far. Basically speaking though, all models that try to price options have fundimental difficulities pricing the whole chain. Most are really only useful for the ATM options. Why? Because the most used models are based on Normal or Log Normal distribution of prices assumptions. The markets have much fatter and longer tails than these models account for. The sensiblilities (uh, ah nevermind) of the marketplace recognize this under pricing of OOM and moreso with WOOM options and in response, asks for additional premium charge. Thus the Nike Swoosh like IV Smile.)
You probably already knew this, and if so, I recognize that you likely know more than I do about options and their measurements. Always open to learn here. If I was being overly simplistic, please feel free to share more about your calculator. Thanks.
Peace and prosperity,
Lar