示例#1
0
        public static void Main(string[] args)
        {
            Option opt1   = new Option(100.0, 105.0, 1.0, 0.05, 0.15, Callput.Call);
            Pricer pricer = new Pricer(opt1);

            pricer.BlackScholes();
        }
示例#2
0
 public double UseEngine(this Pricer pricer, Enums.Engine en)
 {
     engine = en;
 }