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))); }
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))); }
public static double Payoff(double S, double X, PutCall PutCall) { return(SmartQuant.Quant.FinMath.Payoff(S, X, FinMath.SPutCall(PutCall))); }