public class SalesSwapFwdQuoteBuilder extends Object
SalesSwapFwdQuote
interface.
This should be used as part of creating a SalesSwapQuote
Modifier and Type | Method and Description |
---|---|
SalesSwapFwdQuote |
build()
Builds the quote.
|
static SalesSwapFwdQuoteBuilder |
create()
Creates a SalesSwapFwdQuoteBuilder to be used for constructing a SalesSwapFwdQuote.
|
SalesSwapFwdQuoteBuilder |
defaultFwdAskMargin(String defaultFwdAskMargin)
Sets the ask rate's default FWD margin
|
SalesSwapFwdQuoteBuilder |
defaultFwdBidMargin(String defaultFwdBidMargin)
Sets the bid rate's default FWD margin
|
SalesSwapFwdQuoteBuilder |
defaultSpotAskMargin(String defaultSpotAskMargin)
Sets the ask rate's default SPOT margin
|
SalesSwapFwdQuoteBuilder |
defaultSpotBidMargin(String defaultSpotBidMargin)
Sets the bid rate's default SPOT margin
|
SalesSwapFwdQuoteBuilder |
profitAskRate(String profitAskRate)
The ask rate that can be used to calculate the profit on the ask side in the given currency
|
SalesSwapFwdQuoteBuilder |
profitBidRate(String profitBidRate)
The bid rate that can be used to calculate the profit on the bid side in the given currency
|
SalesSwapFwdQuoteBuilder |
profitCurrency(String profitCurrency)
The currency that the Profit Bid Rate and Profit Ask Rate relate to
|
SalesSwapFwdQuoteBuilder |
profitCurrencyDPS(String profitCurrencyDPS)
The number of decimal places that should be used for formatting the profit currency
|
SalesSwapFwdQuoteBuilder |
swapFwdQuote(SwapFwdQuote swapFwdQuote)
Sets the underlying swap forward quote, use
SwapFwdQuoteBuilder to build one |
SalesSwapFwdQuoteBuilder |
traderAllInAskRate(String traderAllInAskRate) |
SalesSwapFwdQuoteBuilder |
traderAllInBidRate(String traderAllInBidRate) |
SalesSwapFwdQuoteBuilder |
traderFwdAskPoints(String traderFwdAskPoints) |
SalesSwapFwdQuoteBuilder |
traderFwdBidPoints(String traderFwdBidPoints) |
SalesSwapFwdQuoteBuilder |
traderSpotAskRate(String traderSpotAskRate) |
SalesSwapFwdQuoteBuilder |
traderSpotBidRate(String traderSpotBidRate) |
public SalesSwapFwdQuoteBuilder swapFwdQuote(SwapFwdQuote swapFwdQuote)
SwapFwdQuoteBuilder
to build oneswapFwdQuote
- The underlying SwapFwdQuotepublic SalesSwapFwdQuoteBuilder defaultSpotBidMargin(String defaultSpotBidMargin)
defaultSpotBidMargin
- The bid rate's default SPOT marginpublic SalesSwapFwdQuoteBuilder defaultFwdBidMargin(String defaultFwdBidMargin)
defaultFwdBidMargin
- The bid rate's default FWD marginpublic SalesSwapFwdQuoteBuilder defaultSpotAskMargin(String defaultSpotAskMargin)
defaultSpotAskMargin
- The ask rate's default SPOT marginpublic SalesSwapFwdQuoteBuilder defaultFwdAskMargin(String defaultFwdAskMargin)
defaultFwdAskMargin
- The ask rate's default FWD marginpublic SalesSwapFwdQuoteBuilder profitCurrency(String profitCurrency)
profitCurrency
- The currency that the Profit Bid Rate and Profit Ask Rate relate topublic SalesSwapFwdQuoteBuilder profitCurrencyDPS(String profitCurrencyDPS)
profitCurrencyDPS
- The number of decimal places that should be used for formatting the profit currencypublic SalesSwapFwdQuoteBuilder profitBidRate(String profitBidRate)
profitBidRate
- The bid rate that can be used to calculate the profit on the bid side in the given currencypublic SalesSwapFwdQuoteBuilder profitAskRate(String profitAskRate)
profitAskRate
- The ask rate that can be used to calculate the profit on the ask side in the given currencypublic SalesSwapFwdQuoteBuilder traderSpotBidRate(String traderSpotBidRate)
public SalesSwapFwdQuoteBuilder traderFwdBidPoints(String traderFwdBidPoints)
public SalesSwapFwdQuoteBuilder traderAllInBidRate(String traderAllInBidRate)
public SalesSwapFwdQuoteBuilder traderSpotAskRate(String traderSpotAskRate)
public SalesSwapFwdQuoteBuilder traderFwdAskPoints(String traderFwdAskPoints)
public SalesSwapFwdQuoteBuilder traderAllInAskRate(String traderAllInAskRate)
public SalesSwapFwdQuote build() throws IllegalStateException
IllegalStateException
public static SalesSwapFwdQuoteBuilder create()
Copyright © 2015 Caplin Systems.