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, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getExchangeSpecification, getMetaData, getPollingAccountService, getPollingMarketDataService, getPollingTradeService, getStreamingExchangeService, remoteInit
public 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)
Exchange
applySpecification
in interface Exchange
applySpecification
in class BaseExchange
specification
- The ExchangeSpecification
public ExchangeSpecification getDefaultExchangeSpecification()
getDefaultExchangeSpecification
in interface Exchange
public si.mazi.rescu.SynchronizedValueFactory<Long> getNonceFactory()
Exchange
getNonceFactory
in interface Exchange
public int getRoundingScale()
public boolean isStoreOrderDetails()
public void clearOrderDetailsCache()
public static Date ToDate(String datetime) throws ParseException
ParseException
Copyright © 2012–2016 Xeiam, LLC. All rights reserved.