November 16th, 2004, 7:54 pm
What is the behavior of your algorithm before it stalls out? Is it moving towards the correct answer for the first few iterations? This might be a data precision problem then. Are the numbers you are working with really small? You wouldn’t by chance be trying to find the implied volatility for deep out of the money options? If so, test the boundary conditions listed in any decent basic options text (Hull, for example) to see if the implied vol is even computable before calling your algorithm. What are you using for a seed value? The better the seed the more likely Newton is to converge and the more rapidly as well.