Esempio n. 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();
        }
Esempio n. 2
0
 public double UseEngine(this Pricer pricer, Enums.Engine en)
 {
     engine = en;
 }