public class FwdQuoteBuilder extends QuoteBuilder<FwdQuoteBuilder>
FwdQuote
interface.allInRateDps, allInRoundingMode, fields, isAskIndicative, isBidIndicative, legFields, midQuoteId, midRate, numberOfFractionalPoints, precision, riskDate, riskTenor, settlementDate, spotRateDps, spotRateRoundingMode, tenor
Modifier and Type | Method and Description |
---|---|
FwdQuoteBuilder |
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.
|
FwdQuoteBuilder |
askRate(String askQuoteId,
String askSpotRate,
String askAllInRate,
String askFwdPips)
Sets the ask rate for the quote.
|
FwdQuoteBuilder |
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.
|
FwdQuoteBuilder |
bidRate(String bidQuoteId,
String bidSpotRate,
String bidAllInRate,
String bidFwdPips)
Sets the bid rate for the quote.
|
FwdQuote |
build()
Builds the quote.
|
static FwdQuoteBuilder |
create()
Creates a FwdQuoteBuilder to be used for constructing a FwdQuote.
|
FwdQuoteBuilder |
swapGFA(String swapGFA)
Sets the GFA that would apply if this forward quote represented the far
leg of a SPOT/FWD swap.
|
addField, addLegField, allInRateDps, askIndicative, bidIndicative, indicative, midRate, midRate, numberOfFractionalPoints, precision, riskDate, riskTenor, settlementDate, spotRateDps, tenor
public FwdQuoteBuilder bidRate(String bidQuoteId, String bidSpotRate, String bidAllInRate, String bidFwdPips)
bidQuoteId
- The Id of the bid side of the quote.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 FwdQuoteBuilder bidFwdPoints(String bidFwdPoints)
bidFwdPoints
- The bid fwd pointspublic FwdQuoteBuilder askRate(String askQuoteId, String askSpotRate, String askAllInRate, String askFwdPips)
askQuoteId
- The Id of the ask side of the quote.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 FwdQuoteBuilder askFwdPoints(String askFwdPoints)
askFwdPoints
- The ask fwd pointspublic FwdQuoteBuilder swapGFA(String swapGFA)
Sets the GFA that would apply if this forward quote represented the far leg of a SPOT/FWD swap.
swapGFA
- the GFA of the FOWARD/SWAP quote.public FwdQuote build() throws IllegalStateException
build
in class QuoteBuilder<FwdQuoteBuilder>
IllegalStateException
public static FwdQuoteBuilder create()
Copyright © 2015 Caplin Systems.