Class CurrencyPairMetaData

    • Constructor Detail

      • CurrencyPairMetaData

        public CurrencyPairMetaData​(BigDecimal tradingFee,
                                    BigDecimal minimumAmount,
                                    BigDecimal maximumAmount,
                                    Integer priceScale,
                                    FeeTier[] feeTiers)
        Constructor
        Parameters:
        tradingFee - Trading fee (fraction)
        minimumAmount - Minimum trade amount
        maximumAmount - Maximum trade amount
        priceScale - Price scale
      • CurrencyPairMetaData

        public CurrencyPairMetaData​(BigDecimal tradingFee,
                                    BigDecimal minimumAmount,
                                    BigDecimal maximumAmount,
                                    Integer priceScale,
                                    FeeTier[] feeTiers,
                                    BigDecimal amountStepSize)
        Constructor
        Parameters:
        tradingFee - Trading fee (fraction)
        minimumAmount - Minimum trade amount
        maximumAmount - Maximum trade amount
        priceScale - Price scale
        amountStepSize - Amounts must be a multiple of this amount if set.
      • CurrencyPairMetaData

        public CurrencyPairMetaData​(BigDecimal tradingFee,
                                    BigDecimal minimumAmount,
                                    BigDecimal maximumAmount,
                                    BigDecimal counterMinimumAmount,
                                    BigDecimal counterMaximumAmount,
                                    Integer baseScale,
                                    Integer priceScale,
                                    FeeTier[] feeTiers,
                                    BigDecimal amountStepSize,
                                    Currency tradingFeeCurrency,
                                    boolean marketOrderEnabled)
        Constructor
        Parameters:
        tradingFee - Trading fee (fraction)
        minimumAmount - Minimum trade amount
        maximumAmount - Maximum trade amount
        priceScale - Price scale
        amountStepSize - Amounts must be a multiple of this amount if set.
    • Method Detail

      • getTradingFee

        public BigDecimal getTradingFee()
      • getMinimumAmount

        public BigDecimal getMinimumAmount()
      • getMaximumAmount

        public BigDecimal getMaximumAmount()
      • getBaseScale

        public Integer getBaseScale()
      • getPriceScale

        public Integer getPriceScale()
      • getFeeTiers

        public FeeTier[] getFeeTiers()
      • getAmountStepSize

        public BigDecimal getAmountStepSize()
      • getTradingFeeCurrency

        public Currency getTradingFeeCurrency()
      • getCounterMinimumAmount

        public BigDecimal getCounterMinimumAmount()
      • getCounterMaximumAmount

        public BigDecimal getCounterMaximumAmount()
      • isMarketOrderEnabled

        public boolean isMarketOrderEnabled()