Class BitstampExchange

java.lang.Object
org.knowm.xchange.BaseExchange
org.knowm.xchange.bitstamp.BitstampExchange
All Implemented Interfaces:
Exchange
Direct Known Subclasses:
BitstampStreamingExchange

public class BitstampExchange extends BaseExchange implements Exchange
Author:
Matija Mazi
  • Constructor Details

    • BitstampExchange

      public BitstampExchange()
  • Method Details

    • initServices

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

      public ExchangeSpecification getDefaultExchangeSpecification()
      Specified by:
      getDefaultExchangeSpecification in interface Exchange
      Returns:
      A default ExchangeSpecification to use during the creation process if one is not supplied
    • 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
    • getUuidNonceFactory

      public si.mazi.rescu.SynchronizedValueFactory<String> getUuidNonceFactory()
    • getTimestampFactory

      public si.mazi.rescu.SynchronizedValueFactory<String> getTimestampFactory()
    • remoteInit

      public void remoteInit() throws IOException, ExchangeException
      Description copied from interface: Exchange
      Initialize this instance with the remote meta data. Most exchanges require this method to be called before Exchange.getExchangeMetaData(). Some exchanges require it before using some of their services.
      Specified by:
      remoteInit in interface Exchange
      Overrides:
      remoteInit in class BaseExchange
      Throws:
      IOException
      ExchangeException