public class BTCETradeServiceRaw extends BTCEBasePollingService
apiKey, btce, signatureCreatorexchange| 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) |
checkResultgetExchangeSymbols, verifyOrder, verifyOrder, verifyOrderclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetExchangeSymbolspublic 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)IOExceptionpublic BTCEPlaceOrderResult placeBTCEOrder(BTCEOrder order) throws IOException
order - BTCEOrder objectIOExceptionpublic BTCECancelOrderResult cancelBTCEOrder(long orderId) throws IOException
IOExceptionpublic 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 pairsIOExceptionpublic 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 +infIOExceptionCopyright © 2012–2017 Xeiam, LLC. All rights reserved.