public class SwapFwdQuoteBuilder extends QuoteBuilder<SwapFwdQuoteBuilder>
SwapFwdQuote
interface.
This should be used as part of creating a SwapQuote
allInRateDps, allInRoundingMode, fields, isAskIndicative, isBidIndicative, legFields, midQuoteId, midRate, numberOfFractionalPoints, precision, riskDate, riskTenor, settlementDate, spotRateDps, spotRateRoundingMode, tenor
Modifier and Type | Method and Description |
---|---|
SwapFwdQuoteBuilder |
askFwdPoints(String askFwdPoints)
For forward quotes this field contains the raw amount to add to the SPOT rate
in order to produce the forward all-in rate, i.e this field contains the forward
points specified as a normal decimal number rather than in pips.
|
SwapFwdQuoteBuilder |
askRate(String askSpotRate,
String askAllInRate,
String askFwdPips)
Sets the ask rate for the quote.
|
SwapFwdQuoteBuilder |
bidFwdPoints(String bidFwdPoints)
For forward quotes this field contains the raw amount to add to the SPOT rate
in order to produce the forward all-in rate, i.e this field contains the forward
points specified as a normal decimal number rather than in pips.
|
SwapFwdQuoteBuilder |
bidRate(String bidSpotRate,
String bidAllInRate,
String bidFwdPips)
Sets the bid rate for the quote.
|
SwapFwdQuote |
build()
Builds the quote.
|
static SwapFwdQuoteBuilder |
createFarLegBuilder()
Creates a SwapFwdQuoteBuilder to be used for constructing a SwapFwdQuote.
|
static SwapFwdQuoteBuilder |
createNearLegBuilder()
Creates a SwapFwdQuoteBuilder to be used for constructing a SwapFwdQuote.
|
addField, addLegField, allInRateDps, askIndicative, bidIndicative, indicative, midRate, midRate, numberOfFractionalPoints, precision, riskDate, riskTenor, settlementDate, spotRateDps, tenor
public SwapFwdQuoteBuilder bidRate(String bidSpotRate, String bidAllInRate, String bidFwdPips)
FwdQuoteBuilder.bidRate(String, String, String, String)
, this method does
not require a quote ID. The bid/ask and ask/bid quote IDs are set on the SwapQuote
object itself.bidSpotRate
- The spot bid rate that the forward rate was derived from.bidAllInRate
- The all in bid rate, i.e the spot rate plus the forward points.bidFwdPips
- The forward pips in the format 10.00 (as opposed to the points
0.00010).public SwapFwdQuoteBuilder bidFwdPoints(String bidFwdPoints)
bidFwdPoints
- The bid fwd pointspublic SwapFwdQuoteBuilder askRate(String askSpotRate, String askAllInRate, String askFwdPips)
FwdQuoteBuilder.askRate(String, String, String, String)
, this method does
not require a quote ID. The bid/ask and ask/bid quote IDs are set on the SwapQuote
object itself.askSpotRate
- The spot ask rate that the forward rate was derived from.askAllInRate
- The all in ask rate, i.e the spot rate plus the forward points.askFwdPips
- The forward pips in the format 10.00 (as opposed to the points
0.00010).public SwapFwdQuoteBuilder askFwdPoints(String askFwdPoints)
askFwdPoints
- The ask fwd pointspublic SwapFwdQuote build() throws IllegalStateException
build
in class QuoteBuilder<SwapFwdQuoteBuilder>
IllegalStateException
public static SwapFwdQuoteBuilder createNearLegBuilder()
public static SwapFwdQuoteBuilder createFarLegBuilder()
Copyright © 2015 Caplin Systems.