public class SalesFwdQuoteBuilder extends Object
SalesFwdQuote
interface.Modifier and Type | Method and Description |
---|---|
SalesFwdQuote |
build()
Builds the quote.
|
static SalesFwdQuoteBuilder |
create()
Creates a SalesFwdQuoteBuilder to be used for constructing a SalesFwdQuote.
|
SalesFwdQuoteBuilder |
defaultFwdAskMargin(String defaultFwdAskMargin)
The default forward margin on the ask rate.
|
SalesFwdQuoteBuilder |
defaultFwdBidMargin(String defaultFwdBidMargin)
The default forward margin on the bid rate.
|
SalesFwdQuoteBuilder |
defaultSpotAskMargin(String defaultSpotAskMargin)
The default margin to be applied to the Spot Ask Rate
|
SalesFwdQuoteBuilder |
defaultSpotBidMargin(String defaultSpotBidMargin)
The default margin to be applied to the Spot Bid Rate
|
SalesFwdQuoteBuilder |
fwdQuote(FwdQuote fwdQuote)
The underlying FwdQuote that contains all the fields a standard
RFS quote would.
|
SalesFwdQuoteBuilder |
profitAskRate(String profitAskRate)
The ask rate that can be used to calculate the profit on the ask side in the given currency
|
SalesFwdQuoteBuilder |
profitBidRate(String profitBidRate)
The bid rate that can be used to calculate the profit on the bid side in the given currency
|
SalesFwdQuoteBuilder |
profitCurrency(String profitCurrency)
The currency that the Profit Bid Rate and Profit Ask Rate relate to
|
SalesFwdQuoteBuilder |
profitCurrencyDPS(String profitCurrencyDPS)
The number of decimal places that should be used for formatting the profit currency
|
SalesFwdQuoteBuilder |
traderAllInAskRate(String traderAllInAskRate) |
SalesFwdQuoteBuilder |
traderAllInBidRate(String traderAllInBidRate) |
SalesFwdQuoteBuilder |
traderFwdAskPoints(String traderFwdAskPoints) |
SalesFwdQuoteBuilder |
traderFwdBidPoints(String traderFwdBidPoints) |
SalesFwdQuoteBuilder |
traderSpotAskRate(String traderSpotAskRate) |
SalesFwdQuoteBuilder |
traderSpotBidRate(String traderSpotBidRate) |
public SalesFwdQuoteBuilder fwdQuote(FwdQuote fwdQuote)
fwdQuote
- The base RFS fwd quotepublic SalesFwdQuoteBuilder defaultSpotBidMargin(String defaultSpotBidMargin)
defaultSpotBidMargin
- The default margin to be applied to the Spot Bid Ratepublic SalesFwdQuoteBuilder defaultFwdBidMargin(String defaultFwdBidMargin)
defaultFwdBidMargin
- The default forward margin on the bid ratepublic SalesFwdQuoteBuilder defaultSpotAskMargin(String defaultSpotAskMargin)
defaultSpotAskMargin
- The default margin to be applied to the Spot Ask Ratepublic SalesFwdQuoteBuilder defaultFwdAskMargin(String defaultFwdAskMargin)
defaultFwdAskMargin
- The default forward margin on the ask rate.public SalesFwdQuoteBuilder profitCurrency(String profitCurrency)
profitCurrency
- The currency that the Profit Bid Rate and Profit Ask Rate relate topublic SalesFwdQuoteBuilder profitCurrencyDPS(String profitCurrencyDPS)
profitCurrencyDPS
- The number of decimal places that should be used for formatting the profit currencypublic SalesFwdQuoteBuilder profitBidRate(String profitBidRate)
profitBidRate
- The bid rate that can be used to calculate the profit on the bid side in the given currencypublic SalesFwdQuoteBuilder profitAskRate(String profitAskRate)
profitAskRate
- The ask rate that can be used to calculate the profit on the ask side in the given currencypublic SalesFwdQuoteBuilder traderSpotBidRate(String traderSpotBidRate)
public SalesFwdQuoteBuilder traderFwdBidPoints(String traderFwdBidPoints)
public SalesFwdQuoteBuilder traderAllInBidRate(String traderAllInBidRate)
public SalesFwdQuoteBuilder traderSpotAskRate(String traderSpotAskRate)
public SalesFwdQuoteBuilder traderFwdAskPoints(String traderFwdAskPoints)
public SalesFwdQuoteBuilder traderAllInAskRate(String traderAllInAskRate)
public SalesFwdQuote build() throws IllegalStateException
IllegalStateException
public static SalesFwdQuoteBuilder create()
Copyright © 2015 Caplin Systems.