public class CryptsyExchange extends BaseExchange implements Exchange
Modifier and Type | Field and Description |
---|---|
static String |
KEY_PUBLIC_API_HOST |
static String |
KEY_PUBLIC_API_URL |
protected PollingMarketDataService |
pollingPublicMarketDataService
Crptsy has both a public and private market data API.
|
exchangeSpecification, logger, metaData, pollingAccountService, pollingMarketDataService, pollingTradeService, streamingExchangeService
Constructor and Description |
---|
CryptsyExchange() |
Modifier and Type | Method and Description |
---|---|
ExchangeSpecification |
getDefaultExchangeSpecification() |
static ExchangeSpecification |
getDefaultPublicExchangeSpecification() |
si.mazi.rescu.SynchronizedValueFactory<Long> |
getNonceFactory()
The nonce factory used to create a nonce value.
|
PollingMarketDataService |
getPollingMarketDataService()
A market data service typically consists of a regularly updated list of the available prices for the various symbols
|
PollingMarketDataService |
getPollingPublicMarketDataService() |
protected void |
initServices() |
applySpecification, getExchangeSpecification, getMetaData, getMetaDataFileName, getPollingAccountService, getPollingTradeService, getStreamingExchangeService, loadExchangeMetaData, loadMetaData, loadMetaData, remoteInit, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
applySpecification, getExchangeSpecification, getMetaData, getPollingAccountService, getPollingTradeService, getStreamingExchangeService, remoteInit
public static final String KEY_PUBLIC_API_HOST
public static final String KEY_PUBLIC_API_URL
protected PollingMarketDataService pollingPublicMarketDataService
protected void initServices()
initServices
in class BaseExchange
public ExchangeSpecification getDefaultExchangeSpecification()
getDefaultExchangeSpecification
in interface Exchange
public static ExchangeSpecification getDefaultPublicExchangeSpecification()
public PollingMarketDataService getPollingPublicMarketDataService()
public PollingMarketDataService getPollingMarketDataService()
Exchange
A market data service typically consists of a regularly updated list of the available prices for the various symbols
This is the non-streaming (blocking) version of the service
getPollingMarketDataService
in interface Exchange
getPollingMarketDataService
in class BaseExchange
public si.mazi.rescu.SynchronizedValueFactory<Long> getNonceFactory()
Exchange
getNonceFactory
in interface Exchange
Copyright © 2012–2018 Xeiam, LLC. All rights reserved.