예제 #1
0
파일: Program.cs 프로젝트: CharlyT21/Pricer
        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
파일: Pricer.cs 프로젝트: CharlyT21/Pricer
 public double UseEngine(this Pricer pricer, Enums.Engine en)
 {
     engine = en;
 }