예제 #1
0
 public Swaption(VanillaSwap swap,
                 Exercise exercise,
                 Settlement.Type delivery           = Settlement.Type.Physical,
                 Settlement.Method settlementMethod = Settlement.Method.PhysicalOTC)
     : base(new Payoff(), exercise)
 {
     settlementType_   = delivery;
     settlementMethod_ = settlementMethod;
     swap_             = swap;
     swap_.registerWith(update);
 }