public class SpotQuoteBuilder extends QuoteBuilder<SpotQuoteBuilder>
SpotQuote
interface.allInRateDps, allInRoundingMode, fields, isAskIndicative, isBidIndicative, legFields, midQuoteId, midRate, numberOfFractionalPoints, precision, riskDate, riskTenor, settlementDate, spotRateDps, spotRateRoundingMode, tenor
Modifier and Type | Method and Description |
---|---|
SpotQuoteBuilder |
askRate(String askQuoteId,
String askSpotRate)
Sets the ask rate for the quote.
|
SpotQuoteBuilder |
bidRate(String bidQuoteId,
String bidSpotRate)
Sets the bid rate for the quote.
|
SpotQuote |
build()
Builds the quote.
|
static SpotQuoteBuilder |
create()
Creates a SpotQuoteBuilder to be used for constructing a
SpotQuote . |
addField, addLegField, allInRateDps, askIndicative, bidIndicative, indicative, midRate, midRate, numberOfFractionalPoints, precision, riskDate, riskTenor, settlementDate, spotRateDps, tenor
public static SpotQuoteBuilder create()
SpotQuote
.public SpotQuoteBuilder bidRate(String bidQuoteId, String bidSpotRate)
bidQuoteId
- The Id of the bid side of the quote.bidSpotRate
- The spot bid rate.public SpotQuoteBuilder askRate(String askQuoteId, String askSpotRate)
askQuoteId
- The Id of the ask side of the quote.askSpotRate
- The spot ask rate.public SpotQuote build()
build
in class QuoteBuilder<SpotQuoteBuilder>
SpotQuote
interface.Copyright © 2015 Caplin Systems.