public abstract class AbstractLegQuote extends Object implements LegQuote
Modifier and Type | Field and Description |
---|---|
protected Precision |
precision |
protected String |
prefix |
Modifier and Type | Method and Description |
---|---|
void |
addField(String fieldName,
String value) |
protected String |
formatRateDps(String rate,
int dps,
RoundingMode roundingMode) |
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 |
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
|
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.
|
void |
setMidRate(String midQuoteId,
String midRate)
Deprecated.
|
void |
setNumberOfFractionalPoints(String numberOfFractionalPoints)
Deprecated.
|
@Deprecated public void setMidRate(String midQuoteId, String midRate)
LegQuote
setMidRate
in interface LegQuote
midQuoteId
- The quote ID.midRate
- The mid rate.public Map<String,String> getQuoteFields()
FXQuote
getQuoteFields
in interface FXQuote
protected String formatRateDps(String rate, int dps, RoundingMode roundingMode)
public String getMidQuoteID()
LegQuote
getMidQuoteID
in interface LegQuote
public String getBidQuoteID()
LegQuote
getBidQuoteID
in interface LegQuote
public String getAskQuoteID()
LegQuote
getAskQuoteID
in interface LegQuote
public String getMidRate()
LegQuote
getMidRate
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
@Deprecated public void setNumberOfFractionalPoints(String numberOfFractionalPoints)
QuoteBuilder.numberOfFractionalPoints
Copyright © 2015 Caplin Systems.