示例#1
0
 private static double CalcPutStrike(double strike)
 {
     return(DeltaCalculator.CalcDeltaValue(
                Param,
                Forward,
                strike,
                VolCalculator(strike, VolParameter),
                InitialTerm.CallPutType.put,
                Param.deltaType) + 0.25);
 }
示例#2
0
 private double DeltaFunctionOfStrike(double strike)
 {
     return(DeltaCalculator.CalcDeltaValue(
                Param,
                Forward,
                strike,
                Volatility,
                Type,
                DeltaType) - (int)Type * Number);
 }