public class OkCoinExchange extends BaseExchange
exchangeSpecification, logger, metaData, pollingAccountService, pollingMarketDataService, pollingTradeService, streamingExchangeService| Constructor and Description |
|---|
OkCoinExchange() |
| Modifier and Type | Method and Description |
|---|---|
void |
applySpecification(ExchangeSpecification exchangeSpecification)
Applies any exchange specific parameters
|
static FuturesContract |
futuresContractOfConfig(ExchangeSpecification exchangeSpecification)
Extract contract used by spec
|
ExchangeSpecification |
getDefaultExchangeSpecification() |
String |
getMetaDataFileName(ExchangeSpecification exchangeSpecification) |
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
|
getExchangeSpecification, getMetaData, getPollingAccountService, getPollingMarketDataService, getPollingTradeService, initServices, loadExchangeMetaData, loadMetaData, loadMetaData, remoteInit, toStringpublic void applySpecification(ExchangeSpecification exchangeSpecification)
ExchangeapplySpecification in interface ExchangeapplySpecification in class BaseExchangeexchangeSpecification - The ExchangeSpecificationpublic static FuturesContract futuresContractOfConfig(ExchangeSpecification exchangeSpecification)
public ExchangeSpecification getDefaultExchangeSpecification()
public StreamingExchangeService getStreamingExchangeService(ExchangeStreamingConfiguration configuration)
ExchangeA 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 ExchangegetStreamingExchangeService in class BaseExchangeconfiguration - The exchange-specific configuration to be applied after creationpublic si.mazi.rescu.SynchronizedValueFactory<Long> getNonceFactory()
Exchangepublic String getMetaDataFileName(ExchangeSpecification exchangeSpecification)
getMetaDataFileName in class BaseExchangeCopyright © 2012–2017 Xeiam, LLC. All rights reserved.