Package org.jquantlib.termstructures.volatilities

Examples of org.jquantlib.termstructures.volatilities.BlackConstantVol.dayCounter()


            if (BlackConstantVol.class.isAssignableFrom(klass)) {
                // ok, the local volatility is constant too.
                final BlackConstantVol constVol = (BlackConstantVol) blackVolatility.currentLink();
                localVolatility.linkTo(new LocalConstantVol(
                        constVol.referenceDate(),
                        constVol.blackVol(/*@Time*/0.0, /*@Real*/x0.currentLink().value()), constVol.dayCounter()));
                updated = true;
                return localVolatility;
            }

            // ok, so it's not constant. Maybe it's strike-independent?
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.