Class CurrencyPairMetaData

java.lang.Object
org.knowm.xchange.dto.meta.CurrencyPairMetaData
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
BinanceCurrencyPairMetaData

public class CurrencyPairMetaData
extends Object
implements Serializable
See Also:
Serialized Form
  • Constructor Details

    • 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, Integer priceScale, Integer volumeScale, FeeTier[] feeTiers, Currency tradingFeeCurrency)
    • CurrencyPairMetaData

      public CurrencyPairMetaData​(BigDecimal tradingFee, BigDecimal minimumAmount, BigDecimal maximumAmount, BigDecimal counterMinimumAmount, BigDecimal counterMaximumAmount, Integer baseScale, Integer priceScale, Integer volumeScale, 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 Details

    • getTradingFee

      public BigDecimal getTradingFee()
    • getMinimumAmount

      public BigDecimal getMinimumAmount()
    • getMaximumAmount

      public BigDecimal getMaximumAmount()
    • getBaseScale

      public Integer getBaseScale()
    • getPriceScale

      public Integer getPriceScale()
    • getVolumeScale

      public Integer getVolumeScale()
    • getFeeTiers

      public FeeTier[] getFeeTiers()
    • getAmountStepSize

      public BigDecimal getAmountStepSize()
    • getTradingFeeCurrency

      public Currency getTradingFeeCurrency()
    • getCounterMinimumAmount

      public BigDecimal getCounterMinimumAmount()
    • getCounterMaximumAmount

      public BigDecimal getCounterMaximumAmount()
    • isMarketOrderEnabled

      public boolean isMarketOrderEnabled()
    • toString

      public String toString()
      Overrides:
      toString in class Object