public static class SalesSpotQuoteBuilder.SalesSpotQuoteImpl extends Object implements SalesSpotQuote
Modifier and Type | Method and Description |
---|---|
void |
addField(String fieldName,
String value) |
String |
getAskPips()
Gets the rate of the ask side of the quote.
|
String |
getAskQuoteID()
Gets the Id of the ask side of the quote.
|
AskRate |
getAskRate()
Gets the rate of the bid side of the quote.
|
String |
getBidPips()
Gets the pips of the bid side of the quote.
|
String |
getBidQuoteID()
Gets the Id of the bid side of the quote.
|
BidRate |
getBidRate()
Gets the rate of the bid side of the quote.
|
String |
getDefaultSpotAskMargin()
The default margin to be applied to the Spot Ask Rate
|
String |
getDefaultSpotBidMargin()
The default margin to be applied to the trader Spot Bid Rate
|
String |
getMidQuoteID()
Gets the Id of the mid rate.
|
String |
getMidRate()
Gets the mid rate.
|
String |
getNumberOfFractionalPoints()
Gets the number of fractional points for the quote.
|
Precision |
getPrecision()
Gets the precision for the quote
|
String |
getProfitAskRate()
The ask rate that can be used to calculate the profit on the ask side in the given currency
|
String |
getProfitBidRate()
The bid rate that can be used to calculate the profit on the bid side in the given currency
|
String |
getProfitCurrency()
The currency that the Profit Bid Rate and Profit Ask Rate relate to
|
String |
getProfitCurrencyDPS()
The number of decimal places that should be used for formatting the profit currency
|
Map<String,String> |
getQuoteFields()
Returns the fields that will be sent to the client for a Quote.
|
String |
getRiskDate()
Gets the time options risk date for the quote.
|
String |
getRiskTenor()
Gets the time options risk tenor for the quote.
|
String |
getSettlementDate()
Gets the settlement date for the quote.
|
Tenor |
getTenor()
Gets the tenor for this quote.
|
String |
getTraderSpotAskRate() |
String |
getTraderSpotBidRate() |
void |
setMidRate(String midRateId,
String midRate)
Sets the mid rate on the quote.
|
public Map<String,String> getQuoteFields()
FXQuote
getQuoteFields
in interface FXQuote
public String getMidQuoteID()
LegQuote
getMidQuoteID
in interface LegQuote
public String getMidRate()
LegQuote
getMidRate
in interface LegQuote
public String getBidQuoteID()
LegQuote
getBidQuoteID
in interface LegQuote
public String getAskQuoteID()
LegQuote
getAskQuoteID
in interface LegQuote
public String getBidPips()
LegQuote
getBidPips
in interface LegQuote
public BidRate getBidRate()
LegQuote
getBidRate
in interface LegQuote
public String getAskPips()
LegQuote
getAskPips
in interface LegQuote
public AskRate getAskRate()
LegQuote
getAskRate
in interface LegQuote
public Tenor getTenor()
LegQuote
public String getSettlementDate()
LegQuote
getSettlementDate
in interface LegQuote
public String getRiskDate()
LegQuote
getRiskDate
in interface LegQuote
public String getRiskTenor()
LegQuote
getRiskTenor
in interface LegQuote
public String getNumberOfFractionalPoints()
LegQuote
getNumberOfFractionalPoints
in interface LegQuote
public Precision getPrecision()
LegQuote
getPrecision
in interface LegQuote
public String getTraderSpotBidRate()
getTraderSpotBidRate
in interface SalesSpotQuote
public String getTraderSpotAskRate()
getTraderSpotAskRate
in interface SalesSpotQuote
public String getDefaultSpotBidMargin()
SalesSpotQuote
getDefaultSpotBidMargin
in interface SalesSpotQuote
public String getDefaultSpotAskMargin()
SalesSpotQuote
getDefaultSpotAskMargin
in interface SalesSpotQuote
public String getProfitCurrency()
SalesSpotQuote
getProfitCurrency
in interface SalesSpotQuote
public String getProfitCurrencyDPS()
SalesSpotQuote
getProfitCurrencyDPS
in interface SalesSpotQuote
public String getProfitBidRate()
SalesSpotQuote
getProfitBidRate
in interface SalesSpotQuote
public String getProfitAskRate()
SalesSpotQuote
getProfitAskRate
in interface SalesSpotQuote
public void setMidRate(String midRateId, String midRate)
LegQuote
setMidRate
in interface LegQuote
midRateId
- The quote ID.midRate
- The mid rate.Copyright © 2015 Caplin Systems.