Class QuotePartsDef.SalesCommonFields

    • Method Detail

      • getTraderSpotBidRate

        @Nullable
        public @Nullable BigDecimal getTraderSpotBidRate()
        Returns:
        traderSpotBidRate e.g. 1.08575
      • getTraderSpotAskRate

        @Nullable
        public @Nullable BigDecimal getTraderSpotAskRate()
        Returns:
        traderSpotAskRate e.g. 1.08575
      • getDefaultSpotBidMargin

        @Nullable
        public @Nullable BigDecimal getDefaultSpotBidMargin()
        Returns:
        defaultSpotBidMargin e.g. 0.00054
      • getDefaultSpotAskMargin

        @Nullable
        public @Nullable BigDecimal getDefaultSpotAskMargin()
        Returns:
        defaultSpotAskMargin e.g. 0.00054
      • getProfitCurrency

        @Nullable
        public @Nullable String getProfitCurrency()
        Returns:
        The profit currency that the ProfitBidRate is being provided for.
      • getProfitCurrencyDPS

        @Nullable
        public @Nullable Integer getProfitCurrencyDPS()
        Returns:
        The number of decimal places that should be used for formatting the amount in profit currency field.
      • getProfitIsHouse

        @Nullable
        public @Nullable Boolean getProfitIsHouse()
        Returns:
        Whether the field ProfitCurrency is the system/house currency or not.
      • getProfitBidRate

        @Nullable
        public @Nullable BigDecimal getProfitBidRate()
        Returns:
        The conversion rate between the contra currency and the profit currency. This can be used for entering profit in an amount of settlement currency.
      • getProfitAskRate

        @Nullable
        public @Nullable BigDecimal getProfitAskRate()
        Returns:
        The conversion rate between the contra currency and the profit currency. This can be used for entering profit in an amount of settlement currency.