Class BitfinexMarketDataServiceRaw
- java.lang.Object
-
- org.knowm.xchange.service.BaseExchangeService
-
- org.knowm.xchange.bitfinex.service.BitfinexBaseService
-
- org.knowm.xchange.bitfinex.service.BitfinexMarketDataServiceRaw
-
- All Implemented Interfaces:
BaseService
- Direct Known Subclasses:
BitfinexMarketDataService
public class BitfinexMarketDataServiceRaw extends BitfinexBaseService
Implementation of the market data service for Bitfinex- Provides access to various market data values
-
-
Field Summary
-
Fields inherited from class org.knowm.xchange.bitfinex.service.BitfinexBaseService
apiKey, bitfinex, bitfinexV2, payloadCreator, signatureCreator, signatureV2
-
Fields inherited from class org.knowm.xchange.service.BaseExchangeService
exchange
-
-
Constructor Summary
Constructors Constructor Description BitfinexMarketDataServiceRaw(Exchange exchange)Constructor
-
Method Summary
-
Methods inherited from class org.knowm.xchange.service.BaseExchangeService
getClientConfig, verifyOrder, verifyOrder, verifyOrder
-
-
-
-
Constructor Detail
-
BitfinexMarketDataServiceRaw
public BitfinexMarketDataServiceRaw(Exchange exchange)
Constructor- Parameters:
exchange-
-
-
Method Detail
-
getBitfinexTicker
public BitfinexTicker getBitfinexTicker(String pair) throws IOException
- Throws:
IOException
-
getBitfinexOrderBook
public BitfinexDepth getBitfinexOrderBook(String pair, Integer limitBids, Integer limitAsks) throws IOException
- Throws:
IOException
-
getBitfinexLendBook
public BitfinexLendDepth getBitfinexLendBook(String currency, int limitBids, int limitAsks) throws IOException
- Throws:
IOException
-
getBitfinexTrades
public BitfinexTrade[] getBitfinexTrades(String pair, long sinceTimestamp) throws IOException
- Throws:
IOException
-
getBitfinexLends
public BitfinexLend[] getBitfinexLends(String currency, long sinceTimestamp, int limitTrades) throws IOException
- Throws:
IOException
-
getBitfinexSymbols
public Collection<String> getBitfinexSymbols() throws IOException
- Throws:
IOException
-
getExchangeSymbols
public List<CurrencyPair> getExchangeSymbols() throws IOException
- Throws:
IOException
-
getSymbolDetails
public List<BitfinexSymbolDetail> getSymbolDetails() throws IOException
- Throws:
IOException
-
getBitfinexTickers
public BitfinexTicker[] getBitfinexTickers(Collection<CurrencyPair> currencyPairs) throws IOException
- Throws:
IOException
-
getBitfinexTickerV2
public BitfinexTicker getBitfinexTickerV2(CurrencyPair currencyPair) throws IOException
- Throws:
IOException
-
getBitfinexPublicTrades
public BitfinexPublicTrade[] getBitfinexPublicTrades(CurrencyPair currencyPair, int limitTrades, long startTimestamp, long endTimestamp, int sort) throws IOException
- Throws:
IOException
-
getBitfinexPublicFundingTrades
public BitfinexPublicFundingTrade[] getBitfinexPublicFundingTrades(Currency currency, int limitTrades, long startTimestamp, long endTimestamp, int sort) throws IOException
- Throws:
IOException
-
getStatus
public List<Status> getStatus(List<CurrencyPair> pairs) throws IOException
- Throws:
IOException
-
-