castle
2017-05-04 08:34:18 UTC
Hi,
I am trying to get the implied volatility by Black-76 model,when I checked the documentation of quantlib I found there is a member function named blackFormulaImpliedStdDev in there. But I could not find in the module imported in python (it seems swig only can import class?)
Real QuantLib::blackFormulaImpliedStdDev ( const boost::shared_ptr<
PlainVanillaPayoff > & payoff,
Real forward,
Real blackPrice,
Real discount = 1.0,
Real displacement = 0.0,
Real guess = Null< Real >(),
Real accuracy = 1.0e-6,
Natural maxIterations = 100
)
May I know how use this member function in python?
I actually first posted this on stackoverflow http://stackoverflow.com/questions/43739593/python-quantlib-swig-to-access-member-function-blackformulaimpliedstddev
I am trying to get the implied volatility by Black-76 model,when I checked the documentation of quantlib I found there is a member function named blackFormulaImpliedStdDev in there. But I could not find in the module imported in python (it seems swig only can import class?)
Real QuantLib::blackFormulaImpliedStdDev ( const boost::shared_ptr<
PlainVanillaPayoff > & payoff,
Real forward,
Real blackPrice,
Real discount = 1.0,
Real displacement = 0.0,
Real guess = Null< Real >(),
Real accuracy = 1.0e-6,
Natural maxIterations = 100
)
May I know how use this member function in python?
I actually first posted this on stackoverflow http://stackoverflow.com/questions/43739593/python-quantlib-swig-to-access-member-function-blackformulaimpliedstddev