Class CryptopiaExchange

    • Constructor Detail

      • CryptopiaExchange

        public CryptopiaExchange()
    • Method Detail

      • 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.
        Returns:
        Synchronized value factory
      • getDefaultExchangeSpecification

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

        public AccountService 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