public class MeXBTExchange extends BaseExchange implements Exchange
Modifier and Type | Field and Description |
---|---|
static String |
PRIVATE_API_URI_KEY |
static String |
WSS_TICKER_URI_KEY |
static String |
WSS_TRADES_AND_ORDERS_URI_KEY |
exchangeSpecification, logger, metaData, pollingAccountService, pollingMarketDataService, pollingTradeService, streamingExchangeService
Constructor and Description |
---|
MeXBTExchange() |
Modifier and Type | Method and Description |
---|---|
ExchangeSpecification |
getDefaultExchangeSpecification() |
si.mazi.rescu.SynchronizedValueFactory<Long> |
getNonceFactory()
The nonce factory used to create a nonce value.
|
StreamingExchangeService |
getStreamingExchangeService(ExchangeStreamingConfiguration configuration)
A market data service typically consists of a regularly updated list of the available prices for the various symbols
|
protected void |
initServices() |
applySpecification, getExchangeSpecification, getMetaData, getMetaDataFileName, getPollingAccountService, getPollingMarketDataService, getPollingTradeService, loadExchangeMetaData, loadMetaData, loadMetaData, remoteInit, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
applySpecification, getExchangeSpecification, getMetaData, getPollingAccountService, getPollingMarketDataService, getPollingTradeService, remoteInit
public static final String PRIVATE_API_URI_KEY
public static final String WSS_TICKER_URI_KEY
public static final String WSS_TRADES_AND_ORDERS_URI_KEY
protected void initServices()
initServices
in class BaseExchange
public si.mazi.rescu.SynchronizedValueFactory<Long> getNonceFactory()
getNonceFactory
in interface Exchange
public ExchangeSpecification getDefaultExchangeSpecification()
getDefaultExchangeSpecification
in interface Exchange
public StreamingExchangeService getStreamingExchangeService(ExchangeStreamingConfiguration configuration)
Exchange
A market data service typically consists of a regularly updated list of the available prices for the various symbols
This is the streaming (non-blocking and event driven) version of the service, and requires an application to provide a suitable implementation of the listener to allow event callbacks to take place.
getStreamingExchangeService
in interface Exchange
getStreamingExchangeService
in class BaseExchange
configuration
- The exchange-specific configuration to be applied after creationCopyright © 2012–2018 Xeiam, LLC. All rights reserved.