public class VanillaSwap extends Swap
| Modifier and Type | Field and Description |
|---|---|
static _VanillaSwap.Type |
Payer |
static _VanillaSwap.Type |
Receiver |
swigCMemOwn| Modifier | Constructor and Description |
|---|---|
|
VanillaSwap(_VanillaSwap.Type type,
double nominal,
Schedule fixedSchedule,
double fixedRate,
DayCounter fixedDayCount,
Schedule floatSchedule,
IborIndex index,
double spread,
DayCounter floatingDayCount) |
protected |
VanillaSwap(long cPtr,
boolean cMemoryOwn) |
| Modifier and Type | Method and Description |
|---|---|
void |
delete() |
double |
fairRate() |
double |
fairSpread() |
protected void |
finalize() |
DayCounter |
fixedDayCount() |
Leg |
fixedLeg() |
double |
fixedLegBPS() |
double |
fixedLegNPV() |
double |
fixedRate() |
Schedule |
fixedSchedule() |
DayCounter |
floatingDayCount() |
Leg |
floatingLeg() |
double |
floatingLegBPS() |
double |
floatingLegNPV() |
Schedule |
floatingSchedule() |
protected static long |
getCPtr(VanillaSwap obj) |
double |
nominal() |
double |
spread() |
getCPtr, leg, legNPV, maturityDate, startDate__deref__, asObservable, errorEstimate, freeze, getCPtr, isExpired, isNull, NPV, recalculate, setPricingEngine, unfreezepublic static final _VanillaSwap.Type Receiver
public static final _VanillaSwap.Type Payer
protected VanillaSwap(long cPtr,
boolean cMemoryOwn)
public VanillaSwap(_VanillaSwap.Type type, double nominal, Schedule fixedSchedule, double fixedRate, DayCounter fixedDayCount, Schedule floatSchedule, IborIndex index, double spread, DayCounter floatingDayCount)
protected static long getCPtr(VanillaSwap obj)
public double fairRate()
public double fairSpread()
public double fixedLegBPS()
public double floatingLegBPS()
public double fixedLegNPV()
public double floatingLegNPV()
public Leg fixedLeg()
public Leg floatingLeg()
public double nominal()
public Schedule fixedSchedule()
public Schedule floatingSchedule()
public double fixedRate()
public double spread()
public DayCounter floatingDayCount()
public DayCounter fixedDayCount()
Copyright © 2017. All rights reserved.