public class BitsoMarketDataService extends BitsoMarketDataServiceRaw implements PollingMarketDataService
BitsoMarketDataServiceRaw.BitsoTimeexchange| Constructor and Description |
|---|
BitsoMarketDataService(Exchange exchange) |
| 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
|
getBitsoOrderBook, getBitsoTicker, getBitsoTransactionsgetExchangeSymbols, verifyOrder, verifyOrder, verifyOrderclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetExchangeSymbolspublic BitsoMarketDataService(Exchange exchange)
public Ticker getTicker(CurrencyPair currencyPair, Object... args) throws ExchangeException, NotAvailableFromExchangeException, NotYetImplementedForExchangeException, IOException
PollingMarketDataServiceGet a ticker representing the current exchange rate
getTicker in interface PollingMarketDataServiceExchangeException - - Indication that the exchange reported some kind of error with the request or responseNotAvailableFromExchangeException - - Indication that the exchange does not support the requested function or dataNotYetImplementedForExchangeException - - Indication that the exchange supports the requested function or data, but it has not yet been
implementedIOException - - Indication that a networking error occurred while fetching JSON datapublic OrderBook getOrderBook(CurrencyPair currencyPair, Object... args) throws IOException
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 datapublic Trades getTrades(CurrencyPair currencyPair, Object... args) throws ExchangeException, NotAvailableFromExchangeException, NotYetImplementedForExchangeException, IOException
PollingMarketDataServiceGet the trades recently performed by the exchange
getTrades in interface PollingMarketDataServiceargs - Optional arguments. Exchange-specificExchangeException - - Indication that the exchange reported some kind of error with the request or responseNotAvailableFromExchangeException - - Indication that the exchange does not support the requested function or dataNotYetImplementedForExchangeException - - Indication that the exchange supports the requested function or data, but it has not yet been
implementedIOException - - Indication that a networking error occurred while fetching JSON dataCopyright © 2012–2017 Xeiam, LLC. All rights reserved.