public class CryptsyMarketDataService extends CryptsyMarketDataServiceRaw implements PollingMarketDataService
apiKey, cryptsy, cryptsyAuthenticated, signatureCreatorexchange| Constructor and Description |
|---|
CryptsyMarketDataService(Exchange exchange)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
OrderBook |
getOrderBook(CurrencyPair currencyPair,
Object... args)
Get an order book representing the current offered exchange rates (market depth)
|
Ticker |
getTicker(CurrencyPair currencyPair,
Object... args)
Get a ticker representing the current exchange rate
|
Trades |
getTrades(CurrencyPair currencyPair,
Object... args)
Get the trades recently performed by the exchange
|
getCryptsyMarkets, getCryptsyOrderBook, getCryptsyTradescheckResult, getExchangeSymbolsverifyOrder, verifyOrder, verifyOrderclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetExchangeSymbolspublic CryptsyMarketDataService(Exchange exchange)
exchange - public Ticker getTicker(CurrencyPair currencyPair, Object... args) throws IOException, ExchangeException
PollingMarketDataServiceGet a ticker representing the current exchange rate
getTicker in interface PollingMarketDataServiceIOException - - Indication that a networking error occurred while fetching JSON dataExchangeException - - Indication that the exchange reported some kind of error with the request or responsepublic OrderBook getOrderBook(CurrencyPair currencyPair, Object... args) throws IOException, ExchangeException
PollingMarketDataServiceGet an order book representing the current offered exchange rates (market depth)
getOrderBook in interface PollingMarketDataServiceargs - Optional arguments. Exchange-specificIOException - - Indication that a networking error occurred while fetching JSON dataExchangeException - - Indication that the exchange reported some kind of error with the request or responsepublic Trades getTrades(CurrencyPair currencyPair, Object... args) throws IOException, ExchangeException
PollingMarketDataServiceGet the trades recently performed by the exchange
getTrades in interface PollingMarketDataServiceargs - Optional arguments. Exchange-specificIOException - - Indication that a networking error occurred while fetching JSON dataExchangeException - - Indication that the exchange reported some kind of error with the request or responseCopyright © 2012–2017 Xeiam, LLC. All rights reserved.