public MakeCash(Date startDate, Date endDate, double nominal) { startDate_ = startDate; endDate_ = endDate; nominal_ = nominal; frequency_ = Frequency.Once; type_ = Loan.Type.Loan; amortising_ = Loan.Amortising.Bullet; calendar_ = new TARGET(); convention_ = BusinessDayConvention.ModifiedFollowing; dayCounter_ = new Actual365Fixed(); rule_ = DateGeneration.Rule.Forward; endOfMonth_ = false; }
public MakeCommercialPaper(Date startDate, Date endDate, double fixedRate, Frequency frequency) { startDate_ = startDate; endDate_ = endDate; fixedRate_ = fixedRate; frequency_ = frequency; type_ = Loan.Type.Loan; amortising_ = Loan.Amortising.Bullet; nominal_ = 1.0; calendar_ = new TARGET(); convention_ = BusinessDayConvention.ModifiedFollowing; dayCounter_ = new Actual365Fixed(); rule_ = DateGeneration.Rule.Forward; endOfMonth_ = false; }
public MakeCash(Date startDate, Date endDate, double nominal) { startDate_ = startDate; endDate_ = endDate; nominal_ = nominal; frequency_ = Frequency.Once; type_ = Loan.Type.Loan; amortising_ = Loan.Amortising.Bullet; calendar_ = new TARGET(); convention_ = BusinessDayConvention.ModifiedFollowing; dayCounter_ = new Actual365Fixed(); rule_ = DateGeneration.Rule.Forward; endOfMonth_ = false; //engine_ = new DiscountingSwapEngine(index.termStructure()); }
public MakeFloatingLoan(Date startDate, Date endDate, double spread, Frequency frequency) { startDate_ = startDate; endDate_ = endDate; spread_ = spread; frequency_ = frequency; type_ = Loan.Type.Loan; amortising_ = Loan.Amortising.Bullet; nominal_ = 1.0; calendar_ = new TARGET(); convention_ = BusinessDayConvention.ModifiedFollowing; dayCounter_ = new Actual365Fixed(); rule_ = DateGeneration.Rule.Forward; endOfMonth_ = false; index_ = new IborIndex(); }
public MakeFixedLoan(Date startDate, Date endDate, double fixedRate, Frequency frequency) { startDate_ = startDate; endDate_ = endDate; fixedRate_ = fixedRate; frequency_ = frequency; type_ = Loan.Type.Loan; amortising_ = Loan.Amortising.Bullet; nominal_ = 1.0; calendar_ = new TARGET(); convention_ = BusinessDayConvention.ModifiedFollowing; dayCounter_ = new Actual365Fixed(); rule_ = DateGeneration.Rule.Forward; endOfMonth_ = false; //engine_ = new DiscountingSwapEngine(index.termStructure()); }
public MakeCash withAmortising(Loan.Amortising Amortising) { amortising_ = Amortising; return this; }
public MakeFloatingLoan withAmortising(Loan.Amortising Amortising) { amortising_ = Amortising; return this; }
public MakeFloatingLoan(Date startDate, Date endDate, double spread, Frequency frequency) { startDate_ = startDate; endDate_ = endDate; spread_ = spread; frequency_ = frequency; type_ = Loan.Type.Loan; amortising_ = Loan.Amortising.Bullet; nominal_ = 1.0; calendar_ = new TARGET(); convention_ = BusinessDayConvention.ModifiedFollowing; dayCounter_ = new Actual365Fixed(); rule_ = DateGeneration.Rule.Forward; endOfMonth_ = false; index_ = new IborIndex(); //engine_ = new DiscountingSwapEngine(index.termStructure()); }
public MakeFixedLoan withAmortising(Loan.Amortising Amortising) { amortising_ = Amortising; return this; }
public MakeCommercialPaper withAmortising(Loan.Amortising Amortising) { amortising_ = Amortising; return this; }
public MakeFixedLoan withAmortising(Loan.Amortising Amortising) { amortising_ = Amortising; return(this); }
public MakeCash withAmortising(Loan.Amortising Amortising) { amortising_ = Amortising; return(this); }
public MakeCommercialPaper withAmortising(Loan.Amortising Amortising) { amortising_ = Amortising; return(this); }