public class RippleExchange extends BaseExchange implements Exchange
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_ROUNDING_SCALE |
static String |
PARAMETER_ROUNDING_SCALE |
static String |
PARAMETER_STORE_ORDER_DETAILS |
static String |
PARAMETER_TRUST_API_RIPPLE_COM |
static String |
REST_API_LOCALHOST_PLAIN_TEXT |
static String |
REST_API_RIPPLE_LABS |
exchangeSpecification, logger, metaData, pollingAccountService, pollingMarketDataService, pollingTradeService, streamingExchangeService| Constructor and Description |
|---|
RippleExchange() |
| Modifier and Type | Method and Description |
|---|---|
void |
applySpecification(ExchangeSpecification specification)
Applies any exchange specific parameters
|
void |
clearOrderDetailsCache() |
ExchangeSpecification |
getDefaultExchangeSpecification() |
si.mazi.rescu.SynchronizedValueFactory<Long> |
getNonceFactory()
The nonce factory used to create a nonce value.
|
int |
getRoundingScale() |
boolean |
isStoreOrderDetails() |
static Date |
ToDate(String datetime)
Converts a datetime string as returned from the Ripple REST API into a java date object.
|
getExchangeSpecification, getMetaData, getMetaDataFileName, getPollingAccountService, getPollingMarketDataService, getPollingTradeService, getStreamingExchangeService, initServices, loadExchangeMetaData, loadMetaData, loadMetaData, remoteInit, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetExchangeSpecification, getMetaData, getPollingAccountService, getPollingMarketDataService, getPollingTradeService, getStreamingExchangeService, remoteInitpublic static final String REST_API_RIPPLE_LABS
public static final String REST_API_LOCALHOST_PLAIN_TEXT
public static final String PARAMETER_TRUST_API_RIPPLE_COM
public static final String PARAMETER_STORE_ORDER_DETAILS
public static final String PARAMETER_ROUNDING_SCALE
public static final int DEFAULT_ROUNDING_SCALE
public void applySpecification(ExchangeSpecification specification)
ExchangeapplySpecification in interface ExchangeapplySpecification in class BaseExchangespecification - The ExchangeSpecificationpublic ExchangeSpecification getDefaultExchangeSpecification()
getDefaultExchangeSpecification in interface Exchangepublic si.mazi.rescu.SynchronizedValueFactory<Long> getNonceFactory()
ExchangegetNonceFactory in interface Exchangepublic int getRoundingScale()
public boolean isStoreOrderDetails()
public void clearOrderDetailsCache()
public static Date ToDate(String datetime) throws ParseException
ParseExceptionCopyright © 2012–2017 Xeiam, LLC. All rights reserved.