public interface FixedFloatSwapConvention extends SingleCurrencySwapConvention
This is a marker interface, see FixedIborSwapConvention
and FixedOvernightSwapConvention for more information.
| Modifier and Type | Method and Description |
|---|---|
FixedRateSwapLegConvention |
getFixedLeg()
Gets the market convention of the fixed leg.
|
FloatRateSwapLegConvention |
getFloatingLeg()
Gets the market convention of the floating leg.
|
String |
getName()
Gets the name that uniquely identifies this convention.
|
static FixedFloatSwapConvention |
of(String uniqueName)
Obtains an instance from the specified unique name.
|
FixedFloatSwapTemplate |
toTemplate(Tenor tenor)
Obtains a template based on the specified tenor.
|
calculateSpotDateFromTradeDate, createTrade, createTrade, getSpotDateOffset, toTrade, toTradestatic FixedFloatSwapConvention of(String uniqueName)
of in interface SingleCurrencySwapConventionuniqueName - the unique nameIllegalArgumentException - if the name is not knownString getName()
This name is used in serialization and can be parsed using of(String).
getName in interface NamedgetName in interface SingleCurrencySwapConventionFixedRateSwapLegConvention getFixedLeg()
FloatRateSwapLegConvention getFloatingLeg()
FixedFloatSwapTemplate toTemplate(Tenor tenor)
The swap will start on the spot date.
tenor - the tenor of the swapCopyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.