示例#1
0
 public static double Parity(double P, double S, double X, double t, double r, PutCall PutCall)
 {
     return(SmartQuant.Quant.FinMath.Parity(P, S, X, t, r, FinMath.SPutCall(PutCall)));
 }
示例#2
0
 public static double BS(double S, double X, double t, double s, double r, PutCall PutCall)
 {
     return(SmartQuant.Quant.FinMath.BS(S, X, t, s, r, FinMath.SPutCall(PutCall)));
 }
示例#3
0
 public static double Payoff(double S, double X, PutCall PutCall)
 {
     return(SmartQuant.Quant.FinMath.Payoff(S, X, FinMath.SPutCall(PutCall)));
 }