Class RippleExchange

java.lang.Object
org.knowm.xchange.BaseExchange
org.knowm.xchange.ripple.RippleExchange
All Implemented Interfaces:
Exchange

public class RippleExchange
extends BaseExchange
implements Exchange
  • Field Details

  • Constructor Details

    • RippleExchange

      public RippleExchange()
  • Method Details

    • ToDate

      public static Date ToDate​(String datetime) throws ParseException
      Converts a datetime string as returned from the Ripple REST API into a java date object. The string is the UTC time in format yyyy-MM-dd'T'hh:mm:ss.SSS'Z' e.g. 2015-06-13T11:45:20.102Z
      Throws:
      com.fasterxml.jackson.databind.exc.InvalidFormatException
      ParseException
    • applySpecification

      public void applySpecification​(ExchangeSpecification specification)
      Description copied from interface: Exchange
      Applies any exchange specific parameters
      Specified by:
      applySpecification in interface Exchange
      Overrides:
      applySpecification in class BaseExchange
      Parameters:
      specification - The ExchangeSpecification
    • 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
    • getRoundingScale

      public int getRoundingScale()
    • validateOrderRequests

      public boolean validateOrderRequests()
    • isStoreTradeTransactionDetails

      public boolean isStoreTradeTransactionDetails()
    • clearOrderDetailsCache

      public void clearOrderDetailsCache()