Class IdexExchange

java.lang.Object
org.knowm.xchange.BaseExchange
org.knowm.xchange.idex.IdexExchange
All Implemented Interfaces:
Exchange

public class IdexExchange
extends BaseExchange
  • Constructor Details

    • IdexExchange

      public IdexExchange()
  • Method Details

    • getUnavailableCPMeta

      public final CurrencyPairMetaData getUnavailableCPMeta()
    • getExchangeMetaData

      public final ExchangeMetaData getExchangeMetaData()
      Description copied from interface: Exchange
      The Meta Data defining some semi-static properties of an exchange such as currency pairs, trading fees, etc.
      Specified by:
      getExchangeMetaData in interface Exchange
      Overrides:
      getExchangeMetaData in class BaseExchange
      Returns:
      The exchange's meta data
    • getNextNonceApi

      public ReturnNextNonceApi getNextNonceApi()
    • getAccountService

      public IdexAccountService getAccountService()
      Description copied from interface: Exchange
      An account service typically provides access to the user's private exchange data

      Typically access is restricted by a secret API key and/or username password authentication which are usually provided in the ExchangeSpecification

      Specified by:
      getAccountService in interface Exchange
      Overrides:
      getAccountService in class BaseExchange
      Returns:
      The exchange's account service
    • getMarketDataService

      public IdexMarketDataService getMarketDataService()
      Description copied from interface: Exchange
      A market data service typically consists of a regularly updated list of the available prices for the various symbols

      This is the non-streaming (blocking) version of the service

      Specified by:
      getMarketDataService in interface Exchange
      Overrides:
      getMarketDataService in class BaseExchange
      Returns:
      The exchange's market data service
    • getTradeService

      public IdexTradeService getTradeService()
      Description copied from interface: Exchange
      An trade service typically provides access to trading functionality

      Typically access is restricted by a secret API key and/or username password authentication which are usually provided in the ExchangeSpecification

      Specified by:
      getTradeService in interface Exchange
      Overrides:
      getTradeService in class BaseExchange
      Returns:
      The exchange's trade service
    • initServices

      protected void initServices()
      Specified by:
      initServices in class BaseExchange
    • getNonceFactory

      public si.mazi.rescu.SynchronizedValueFactory<Long> getNonceFactory()
      Description copied from interface: Exchange
      The nonce factory used to create a nonce value. Allows services to accept a placeholder that is replaced with generated value just before message is serialized and sent. If a method of a rest accepts ValueFactory as a parameter, it's evaluated, the message is serialized and sent in a single synchronized block.
      Specified by:
      getNonceFactory in interface Exchange
      Overrides:
      getNonceFactory in class BaseExchange
      Returns:
      Synchronized value factory
    • getDefaultExchangeSpecification

      public ExchangeSpecification getDefaultExchangeSpecification()
      Returns:
      A default ExchangeSpecification to use during the creation process if one is not supplied