public class BTCEMarketDataServiceRaw extends BTCEBasePollingService
Modifier and Type | Field and Description |
---|---|
protected static int |
FULL_SIZE |
apiKey, btce, signatureCreator
exchange
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
|
checkResult
getExchangeSymbols, verifyOrder, verifyOrder, verifyOrder
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getExchangeSymbols
protected 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")IOException
public 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 itemsIOException
public 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 itemsIOException
public BTCEExchangeInfo getBTCEInfo() throws IOException
IOException
Copyright © 2012–2016 Xeiam, LLC. All rights reserved.