public class BTCETradeServiceRaw extends BTCEBasePollingService
apiKey, btce, signatureCreator
exchange
Constructor and Description |
---|
BTCETradeServiceRaw(Exchange exchange)
Constructor
|
Modifier and Type | Method and Description |
---|---|
BTCECancelOrderResult |
cancelBTCEOrder(long orderId) |
Map<Long,BTCEOrder> |
getBTCEActiveOrders(String pair) |
Map<Long,BTCETradeHistoryResult> |
getBTCETradeHistory(Long from,
Long count,
Long fromId,
Long endId,
BTCEAuthenticated.SortOrder order,
Long since,
Long end,
String pair)
All parameters are nullable
|
Map<Long,BTCETransHistoryResult> |
getBTCETransHistory(Long from,
Long count,
Long fromId,
Long endId,
BTCEAuthenticated.SortOrder order,
Long since,
Long end)
Get Map of transaction history from BTCE exchange.
|
BTCEPlaceOrderResult |
placeBTCEOrder(BTCEOrder order) |
checkResult
getExchangeSymbols, verifyOrder, verifyOrder, verifyOrder
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getExchangeSymbols
public BTCETradeServiceRaw(Exchange exchange)
exchange
- public Map<Long,BTCEOrder> getBTCEActiveOrders(String pair) throws IOException
pair
- The pair to display the orders e.g. btc_usd (null: all pairs)IOException
public BTCEPlaceOrderResult placeBTCEOrder(BTCEOrder order) throws IOException
order
- BTCEOrder objectIOException
public BTCECancelOrderResult cancelBTCEOrder(long orderId) throws IOException
IOException
public Map<Long,BTCETradeHistoryResult> getBTCETradeHistory(Long from, Long count, Long fromId, Long endId, BTCEAuthenticated.SortOrder order, Long since, Long end, String pair) throws IOException
from
- The number of the transactions to start displaying with; default 0count
- The number of transactions for displaying; default 1000fromId
- The ID of the transaction to start displaying with; default 0endId
- The ID of the transaction to finish displaying with; default +inforder
- sorting ASC or DESC; default DESCsince
- When to start displaying; UNIX time default 0end
- When to finish displaying; UNIX time default +infpair
- The pair to show the transaction; example btc_usd; all pairsIOException
public Map<Long,BTCETransHistoryResult> getBTCETransHistory(Long from, Long count, Long fromId, Long endId, BTCEAuthenticated.SortOrder order, Long since, Long end) throws IOException
from
- The number of the transactions to start displaying with; default 0count
- The number of transactions for displaying; default 1000fromId
- The ID of the transaction to start displaying with; default 0endId
- The ID of the transaction to finish displaying with; default +inforder
- sorting ASC or DESC; default DESCsince
- When to start displaying; UNIX time default 0end
- When to finish displaying; UNIX time default +infIOException
Copyright © 2012–2018 Xeiam, LLC. All rights reserved.