yassinemaaroufi / MibianLib

Python Options Pricing Library
http://code.mibian.net
254 stars 77 forks source link

impliedVolatility() fails to calc a .callPrice when mid <= 0.00001 #1

Closed smickles closed 12 years ago

smickles commented 12 years ago

impliedVolatility() simply fails to calc a .callPrice when mid happens to be <= 0.00001.

this assumes that it is better to function than have such an infinitesimal level of accuracy for the value of mid