Package org.knowm.xchange.ripple
Class RippleExchange
java.lang.Object
org.knowm.xchange.BaseExchange
org.knowm.xchange.ripple.RippleExchange
- All Implemented Interfaces:
Exchange
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final String
static final String
static final String
static final String
static final String
static final String
Fields inherited from class org.knowm.xchange.BaseExchange
accountService, exchangeMetaData, exchangeSpecification, logger, marketDataService, tradeService
Fields inherited from interface org.knowm.xchange.Exchange
USE_SANDBOX
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
applySpecification
(ExchangeSpecification specification) Applies any exchange specific parametersvoid
int
protected void
boolean
static Date
Converts a datetime string as returned from the Ripple REST API into a java date object.boolean
Methods inherited from class org.knowm.xchange.BaseExchange
getAccountService, getExchangeInstruments, getExchangeMetaData, getExchangeSpecification, getMarketDataService, getMetaDataFileName, getNonceFactory, getTradeService, loadExchangeMetaData, loadMetaData, remoteInit, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.knowm.xchange.Exchange
getAccountService, getExchangeInstruments, getExchangeMetaData, getExchangeSpecification, getMarketDataService, getNonceFactory, getResilienceRegistries, getTradeService, remoteInit
-
Field Details
-
REST_API_RIPPLE_LABS
- See Also:
-
REST_API_LOCALHOST_PLAIN_TEXT
- See Also:
-
PARAMETER_TRUST_API_RIPPLE_COM
- See Also:
-
PARAMETER_STORE_TRADE_TRANSACTION_DETAILS
- See Also:
-
PARAMETER_VALIDATE_ORDER_REQUESTS
- See Also:
-
PARAMETER_ROUNDING_SCALE
- See Also:
-
DEFAULT_ROUNDING_SCALE
public static final int DEFAULT_ROUNDING_SCALE- See Also:
-
-
Constructor Details
-
RippleExchange
public RippleExchange()
-
-
Method Details
-
ToDate
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
Description copied from interface:Exchange
Applies any exchange specific parameters- Specified by:
applySpecification
in interfaceExchange
- Overrides:
applySpecification
in classBaseExchange
- Parameters:
specification
- TheExchangeSpecification
-
initServices
protected void initServices()- Specified by:
initServices
in classBaseExchange
-
getDefaultExchangeSpecification
- Specified by:
getDefaultExchangeSpecification
in interfaceExchange
- 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()
-