public static final class QuotePartsDef.CommonFields extends Object implements BuilderMessage
Modifier and Type | Class and Description |
---|---|
static class |
QuotePartsDef.CommonFields.Builder |
Modifier and Type | Method and Description |
---|---|
static @NotNull QuotePartsDef.CommonFields |
from(@NotNull Map<String,String> fields) |
static @NotNull QuotePartsDef.CommonFields |
from(@NotNull Map<String,String> fields,
@NotNull String fieldPrefix) |
@Nullable BigDecimal |
getAskCostAmount()
The total amount on the ask side of the trade when requesting a quote
|
@Nullable BigDecimal |
getAskCostPercentage()
Percentage of the overall price which is the transactional cost to the client of performing the trade, displayed on the ask side.
|
@Nullable BigDecimal |
getAskCostRate()
The rate to multiply by the margin (in term currency), to get the cost in the CostCurrency.
|
@Nullable Boolean |
getAskIndicative()
Determines whether the Ask price is indicative.
|
@Nullable String |
getAskPips()
Deprecated.
|
@Nullable String |
getAskQuoteID()
A unique ID that identifies the ask side of this quote.
|
@Nullable BigDecimal |
getBidCostAmount()
The total amount on the bid side of the trade when requesting a quote
|
@Nullable BigDecimal |
getBidCostPercentage()
Percentage of the overall price which is the transactional cost to the client of performing the trade, displayed on the bid side.
|
@Nullable BigDecimal |
getBidCostRate()
The rate to multiply by the margin (in term currency), to get the cost in the CostCurrency.
|
@Nullable Boolean |
getBidIndicative()
Determines whether the Bid price is indicative.
|
@Nullable String |
getBidPips()
Deprecated.
|
@Nullable String |
getBidQuoteID()
A unique ID that identifies the bid side of this quote.
|
@Nullable String |
getCostCurrency()
The currency that the cost is displayed in, this could be any currency but will typically be set to the Term Currency
|
@Nullable Integer |
getCostCurrencyDPS()
The number of decimal places to display after the decimal point.
|
@Nullable String |
getCurrencyPair()
The currency pair for the trade.
|
@Nullable Integer |
getDigitsBeforePips()
Precision-related field that tells the client how to display rates.
|
@NotNull Map<String,Collection<String>> |
getFieldFlags()
Get the flags for all fields.
|
@NotNull Map<String,String> |
getFields() |
@NotNull Map<String,Collection<String>> |
getFlagFields()
Get the fields for all flags.
|
@Nullable String |
getGFA()
The maximum amount that a quote can be executed for.
|
@Nullable String |
getNumberOfFractionalPips()
Deprecated.
|
@Nullable Integer |
getNumberOfPips()
Precision-related field that tells the client how to display rates.
|
@Nullable String |
getOverallTimeOut()
The number of seconds remaining before this stream (not this individual quote) is timed out.
|
@Nullable String |
getPriceUpdateSource()
The name of the adapter a particular price update originated from.
|
@Nullable String |
getRemainingTimeOutMillis()
The number of seconds remaining of the OverallTimeOut before this stream is timed out.
|
@Nullable BigDecimal |
getSpotAskRate()
For SPOT quotes this value will be identical to the L1_AllInAskRate.
|
@Nullable BigDecimal |
getSpotBidRate()
For SPOT quotes this value will be identical to the L1_AllInBidRate.
|
@Nullable BigDecimal |
getSpotMidRate()
The mid rate between the SpotAskRate and SpotBidRate.
|
@Nullable Integer |
getSpotRateDPS()
The number of decimal places to display after the decimal point.
|
@Nullable String |
getSwapGFA()
Deprecated.
|
@Nullable String |
getTimePriceReceived()
The time a price was received from the liquidity provider
|
@Nullable String |
getWarningCode()
The code for the warning regarding a quote request.
|
@Nullable String |
getWarningMessage()
The message to display for any warnings regarding a quote request
|
static @NotNull QuotePartsDef.CommonFields.Builder |
newBuilder() |
@NotNull String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getFieldFlags, getFlagFields
@Nullable public @Nullable String getBidQuoteID()
@Nullable public @Nullable String getAskQuoteID()
@Nullable public @Nullable Boolean getBidIndicative()
@Nullable public @Nullable Boolean getAskIndicative()
@Nullable public @Nullable String getGFA()
@Nullable public @Nullable String getTimePriceReceived()
@Nullable public @Nullable Integer getDigitsBeforePips()
@Nullable public @Nullable Integer getNumberOfPips()
@Nullable public @Nullable BigDecimal getSpotBidRate()
@Nullable public @Nullable BigDecimal getSpotMidRate()
@Nullable public @Nullable BigDecimal getSpotAskRate()
@Nullable public @Nullable Integer getSpotRateDPS()
@Nullable public @Nullable String getOverallTimeOut()
@Nullable public @Nullable String getRemainingTimeOutMillis()
@Nullable public @Nullable String getWarningCode()
@Nullable public @Nullable String getWarningMessage()
@Deprecated @Nullable public @Nullable String getNumberOfFractionalPips()
@Deprecated @Nullable public @Nullable String getBidPips()
@Deprecated @Nullable public @Nullable String getAskPips()
@Deprecated @Nullable public @Nullable String getSwapGFA()
@Nullable public @Nullable String getCurrencyPair()
@Nullable public @Nullable BigDecimal getBidCostAmount()
@Nullable public @Nullable BigDecimal getBidCostPercentage()
@Nullable public @Nullable String getCostCurrency()
@Nullable public @Nullable BigDecimal getAskCostAmount()
@Nullable public @Nullable BigDecimal getAskCostPercentage()
@Nullable public @Nullable BigDecimal getAskCostRate()
@Nullable public @Nullable BigDecimal getBidCostRate()
@Nullable public @Nullable Integer getCostCurrencyDPS()
@Nullable public @Nullable String getPriceUpdateSource()
@NotNull public @NotNull Map<String,Collection<String>> getFieldFlags()
BuilderMessage
getFieldFlags
in interface BuilderMessage
@NotNull public @NotNull Map<String,Collection<String>> getFlagFields()
BuilderMessage
getFlagFields
in interface BuilderMessage
@NotNull public static @NotNull QuotePartsDef.CommonFields from(@NotNull @NotNull Map<String,String> fields)
@NotNull public static @NotNull QuotePartsDef.CommonFields from(@NotNull @NotNull Map<String,String> fields, @NotNull @NotNull String fieldPrefix)
@NotNull public static @NotNull QuotePartsDef.CommonFields.Builder newBuilder()
Copyright © 2018 Caplin Systems.