public class PeatioMarketDataServiceRaw extends PeatioBasePollingService
peatio| Constructor and Description |
|---|
PeatioMarketDataServiceRaw(com.xeiam.xchange.Exchange exchange) |
| Modifier and Type | Method and Description |
|---|---|
Depth |
getDepth(String market,
Integer limit) |
BigDecimal[][] |
getK(String market,
Integer limit,
Integer period,
Long timestamp) |
KWithPendingTrades |
getKWithPendingTrades(String market,
Integer tradeId,
Integer limit,
Integer period,
Long timestamp) |
OrderBook |
getOrderBook(String market,
Integer asksLimit,
Integer bidsLimit) |
MarketTicker |
getTicker(String market) |
Map<String,MarketTicker> |
getTickers() |
Trade[] |
getTrades(String market,
Integer limit,
Long timestamp,
Integer from,
Integer to,
String orderBy) |
getExchangeSymbols, getMarketspublic PeatioMarketDataServiceRaw(com.xeiam.xchange.Exchange exchange)
public Map<String,MarketTicker> getTickers() throws PeatioException, IOException
PeatioExceptionIOExceptionpublic MarketTicker getTicker(String market) throws PeatioException, IOException
PeatioExceptionIOExceptionpublic OrderBook getOrderBook(String market, Integer asksLimit, Integer bidsLimit) throws PeatioException, IOException
PeatioExceptionIOExceptionpublic Depth getDepth(String market, Integer limit) throws PeatioException, IOException
PeatioExceptionIOExceptionpublic Trade[] getTrades(String market, Integer limit, Long timestamp, Integer from, Integer to, String orderBy) throws PeatioException, IOException
PeatioExceptionIOExceptionpublic BigDecimal[][] getK(String market, Integer limit, Integer period, Long timestamp) throws PeatioException, IOException
PeatioExceptionIOExceptionpublic KWithPendingTrades getKWithPendingTrades(String market, Integer tradeId, Integer limit, Integer period, Long timestamp) throws PeatioException, IOException
PeatioExceptionIOExceptionCopyright © 2015. All rights reserved.