public class BTCEMarketDataServiceRaw extends BTCEBasePollingService
| Modifier and Type | Field and Description |
|---|---|
protected static int |
FULL_SIZE |
apiKey, btce, signatureCreatorexchange| Constructor and Description |
|---|
BTCEMarketDataServiceRaw(Exchange exchange)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
BTCEDepthWrapper |
getBTCEDepth(String pairs,
int size)
Get market depth from exchange
|
BTCEExchangeInfo |
getBTCEInfo()
Get BTC-e exchange info
|
BTCETickerWrapper |
getBTCETicker(String pairs) |
BTCETradesWrapper |
getBTCETrades(String pairs,
int size)
Get recent trades from exchange
|
checkResultgetExchangeSymbols, verifyOrder, verifyOrder, verifyOrderclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetExchangeSymbolsprotected static final int FULL_SIZE
public BTCEMarketDataServiceRaw(Exchange exchange)
exchange - public BTCETickerWrapper getBTCETicker(String pairs) throws IOException
pairs - Dash-delimited string of currency pairs to retrieve (e.g. "btc_usd-ltc_btc")IOExceptionpublic BTCEDepthWrapper getBTCEDepth(String pairs, int size) throws IOException
pairs - Dash-delimited string of currency pairs to retrieve (e.g. "btc_usd-ltc_btc")size - Integer value from 1 to 2000 -> get corresponding number of itemsIOExceptionpublic BTCETradesWrapper getBTCETrades(String pairs, int size) throws IOException
pairs - Dash-delimited string of currency pairs to retrieve (e.g. "btc_usd-ltc_btc")size - Integer value from 1 to 2000 -> get corresponding number of itemsIOExceptionpublic BTCEExchangeInfo getBTCEInfo() throws IOException
IOExceptionCopyright © 2012–2017 Xeiam, LLC. All rights reserved.