Class CobinhoodMarketDataServiceRaw
java.lang.Object
org.knowm.xchange.service.BaseExchangeService
org.knowm.xchange.cobinhood.service.CobinhoodBaseService
org.knowm.xchange.cobinhood.service.CobinhoodMarketDataServiceRaw
- All Implemented Interfaces:
BaseService
- Direct Known Subclasses:
CobinhoodMarketDataService
public class CobinhoodMarketDataServiceRaw extends CobinhoodBaseService
-
Field Summary
Fields inherited from class org.knowm.xchange.cobinhood.service.CobinhoodBaseService
apiKey, cobinhoodFields inherited from class org.knowm.xchange.service.BaseExchangeService
exchange -
Constructor Summary
Constructors Modifier Constructor Description protectedCobinhoodMarketDataServiceRaw(Exchange exchange) -
Method Summary
Modifier and Type Method Description static <D> CobinhoodResponse<D>checkSuccess(CobinhoodResponse<D> response)CobinhoodResponse<CobinhoodCurrencies>getCobinhoodCurrencies()CobinhoodResponse<CobinhoodOrderBook.Container>getCobinhoodOrderBook(CurrencyPair currencyPair)CobinhoodResponse<CobinhoodOrderBook.Container>getCobinhoodOrderBook(CurrencyPair currencyPair, Integer limit)CobinhoodResponse<CobinhoodTicker.Container>getCobinhoodTicker(CurrencyPair currencyPair)CobinhoodResponse<CobinhoodTickers>getCobinhoodTickers()CobinhoodResponse<CobinhoodTrades>getCobinhoodTrades(CurrencyPair currencyPair, Integer limit)CobinhoodResponse<CobinhoodTradingPairs>getCobinhoodTradingPairs()Methods inherited from class org.knowm.xchange.service.BaseExchangeService
verifyOrder, verifyOrder, verifyOrder
-
Constructor Details
-
CobinhoodMarketDataServiceRaw
-
-
Method Details
-
getCobinhoodTicker
public CobinhoodResponse<CobinhoodTicker.Container> getCobinhoodTicker(CurrencyPair currencyPair) throws IOException- Throws:
IOException
-
getCobinhoodTickers
- Throws:
IOException
-
getCobinhoodOrderBook
public CobinhoodResponse<CobinhoodOrderBook.Container> getCobinhoodOrderBook(CurrencyPair currencyPair) throws IOException- Throws:
IOException
-
getCobinhoodOrderBook
public CobinhoodResponse<CobinhoodOrderBook.Container> getCobinhoodOrderBook(CurrencyPair currencyPair, Integer limit) throws IOException- Throws:
IOException
-
getCobinhoodTrades
public CobinhoodResponse<CobinhoodTrades> getCobinhoodTrades(CurrencyPair currencyPair, Integer limit) throws IOException- Throws:
IOException
-
getCobinhoodCurrencies
- Throws:
IOException
-
getCobinhoodTradingPairs
- Throws:
IOException
-
checkSuccess
-