Package | Description |
---|---|
org.oxerr.peatio.rest |
Client for Peatio RESTful API.
|
org.oxerr.peatio.rest.service.polling |
Polling services.
|
Modifier and Type | Method and Description |
---|---|
Order[] |
Peatio.clear(String accessKey,
si.mazi.rescu.SynchronizedValueFactory<Long> tonce,
si.mazi.rescu.ParamsDigest signature)
Cancel all my orders.
|
Order |
Peatio.deleteOrder(String accessKey,
si.mazi.rescu.SynchronizedValueFactory<Long> tonce,
si.mazi.rescu.ParamsDigest signature,
long id)
Cancel an order.
|
Deposit |
Peatio.getDeposit(String accessKey,
si.mazi.rescu.SynchronizedValueFactory<Long> tonce,
si.mazi.rescu.ParamsDigest signature,
String txid)
Get single deposit information.
|
Deposit[] |
Peatio.getDeposits(String accessKey,
si.mazi.rescu.SynchronizedValueFactory<Long> tonce,
si.mazi.rescu.ParamsDigest signature,
String currency)
Get your deposits information.
|
Depth |
Peatio.getDepth(String market,
Integer limit)
Get depth of specified market.
|
BigDecimal[][] |
Peatio.getK(String market,
Integer limit,
Integer period,
Long timestamp)
Get OHLC(k line) of specified market.
|
KWithPendingTrades |
Peatio.getKWithPendingTrades(String market,
Integer tradeId,
Integer limit,
Integer period,
Long timestamp)
Get K data with pending trades, which are the trades not included
in K data yet, because there's delay between trade generated and
processed by K data generator.
|
Market[] |
Peatio.getMarkets()
Get all available markets.
|
Member |
Peatio.getMe(String accessKey,
si.mazi.rescu.SynchronizedValueFactory<Long> tonce,
si.mazi.rescu.ParamsDigest signature)
Get your profile and accounts info.
|
Trade[] |
Peatio.getMyTrades(String accessKey,
si.mazi.rescu.SynchronizedValueFactory<Long> tonce,
si.mazi.rescu.ParamsDigest signature,
String market,
Integer limit,
Long timestamp,
Long from,
Long to,
String orderBy)
Get your executed trades.
|
Order |
Peatio.getOrder(String accessKey,
si.mazi.rescu.SynchronizedValueFactory<Long> tonce,
si.mazi.rescu.ParamsDigest signature,
long id)
Get information of specified order.
|
OrderBook |
Peatio.getOrderBook(String market,
Integer asksLimit,
Integer bidsLimit)
Get the order book of specified market.
|
Order[] |
Peatio.getOrders(String accessKey,
si.mazi.rescu.SynchronizedValueFactory<Long> tonce,
si.mazi.rescu.ParamsDigest signature,
String market,
String state,
Integer limit,
Integer page,
String orderBy)
Get your orders.
|
MarketTicker |
Peatio.getTicker(String market)
Get ticker of specific market.
|
Map<String,MarketTicker> |
Peatio.getTickers()
Get ticker of all markets.
|
Trade[] |
Peatio.getTrades(String market,
Integer limit,
Long timestamp,
Integer from,
Integer to,
String orderBy)
Get recent trades on market, each trade is included only once.
|
Order[] |
Peatio.placeMultiOrders(String accessKey,
si.mazi.rescu.SynchronizedValueFactory<Long> tonce,
si.mazi.rescu.ParamsDigest signature,
String market,
String[] sides,
BigDecimal[] volumes,
BigDecimal[] prices,
String[] ordTypes)
Create multiple sell/buy orders.
|
Order |
Peatio.placeOrder(String accessKey,
si.mazi.rescu.SynchronizedValueFactory<Long> tonce,
si.mazi.rescu.ParamsDigest signature,
String market,
String side,
BigDecimal volume,
BigDecimal price,
String ordType)
Create a sell/buy order.
|
Modifier and Type | Method and Description |
---|---|
boolean |
PeatioTradeService.cancelOrder(String orderId) |
Order[] |
PeatioTradeServiceRaw.clearOrders() |
Order |
PeatioTradeServiceRaw.deleteOrder(long id) |
com.xeiam.xchange.dto.account.AccountInfo |
PeatioAccountService.getAccountInfo() |
Deposit |
PeatioAccountServiceRaw.getDeposit(String txid) |
Deposit[] |
PeatioAccountServiceRaw.getDeposits(String currency) |
Depth |
PeatioMarketDataServiceRaw.getDepth(String market,
Integer limit) |
List<com.xeiam.xchange.currency.CurrencyPair> |
PeatioBasePollingService.getExchangeSymbols() |
BigDecimal[][] |
PeatioMarketDataServiceRaw.getK(String market,
Integer limit,
Integer period,
Long timestamp) |
KWithPendingTrades |
PeatioMarketDataServiceRaw.getKWithPendingTrades(String market,
Integer tradeId,
Integer limit,
Integer period,
Long timestamp) |
Market[] |
PeatioBasePollingService.getMarkets() |
Member |
PeatioAccountServiceRaw.getMe() |
Trade[] |
PeatioTradeServiceRaw.getMyTrades(String market,
Integer limit,
Long timestamp,
Long from,
Long to,
String orderBy) |
com.xeiam.xchange.dto.trade.OpenOrders |
PeatioTradeService.getOpenOrders() |
Order |
PeatioTradeServiceRaw.getOrder(long id) |
com.xeiam.xchange.dto.marketdata.OrderBook |
PeatioMarketDataService.getOrderBook(com.xeiam.xchange.currency.CurrencyPair currencyPair,
Object... args) |
OrderBook |
PeatioMarketDataServiceRaw.getOrderBook(String market,
Integer asksLimit,
Integer bidsLimit) |
Order[] |
PeatioTradeServiceRaw.getOrders(String market,
String state,
Integer limit,
Integer page,
String orderBy) |
com.xeiam.xchange.dto.marketdata.Ticker |
PeatioMarketDataService.getTicker(com.xeiam.xchange.currency.CurrencyPair currencyPair,
Object... args) |
MarketTicker |
PeatioMarketDataServiceRaw.getTicker(String market) |
Map<String,MarketTicker> |
PeatioMarketDataServiceRaw.getTickers() |
com.xeiam.xchange.dto.trade.UserTrades |
PeatioTradeService.getTradeHistory(Object... arguments) |
com.xeiam.xchange.dto.trade.UserTrades |
PeatioTradeService.getTradeHistory(com.xeiam.xchange.service.polling.trade.params.TradeHistoryParams params) |
com.xeiam.xchange.dto.marketdata.Trades |
PeatioMarketDataService.getTrades(com.xeiam.xchange.currency.CurrencyPair currencyPair,
Object... args) |
Trade[] |
PeatioMarketDataServiceRaw.getTrades(String market,
Integer limit,
Long timestamp,
Integer from,
Integer to,
String orderBy) |
String |
PeatioTradeService.placeLimitOrder(com.xeiam.xchange.dto.trade.LimitOrder limitOrder) |
String |
PeatioTradeService.placeMarketOrder(com.xeiam.xchange.dto.trade.MarketOrder marketOrder) |
Order |
PeatioTradeServiceRaw.placeOrder(String market,
String side,
BigDecimal volume,
BigDecimal price,
String ordType) |
Copyright © 2015. All rights reserved.