Modifier and Type | Interface and Description |
---|---|
static class |
BTCEAuthenticated.SortOrder |
Modifier and Type | Method and Description |
---|---|
BTCEOpenOrdersReturn |
ActiveOrders(String apiKey,
si.mazi.rescu.ParamsDigest signer,
si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
String pair)
None of the parameters are obligatory (ie.
|
BTCECancelOrderReturn |
CancelOrder(String apiKey,
si.mazi.rescu.ParamsDigest signer,
si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
Long orderId) |
BTCEAccountInfoReturn |
getInfo(String apiKey,
si.mazi.rescu.ParamsDigest signer,
si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
Long from,
Long count,
Long fromId,
Long endId,
BTCEAuthenticated.SortOrder order,
Long since,
Long end) |
BTCEPlaceOrderReturn |
Trade(String apiKey,
si.mazi.rescu.ParamsDigest signer,
si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
String pair,
BTCEOrder.Type type,
BigDecimal rate,
BigDecimal amount)
All parameters are obligatory (ie.
|
BTCETradeHistoryReturn |
TradeHistory(String apiKey,
si.mazi.rescu.ParamsDigest signer,
si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
Long from,
Long count,
Long fromId,
Long endId,
BTCEAuthenticated.SortOrder order,
Long since,
Long end,
String pair)
All parameters are nullable
|
BTCETransHistoryReturn |
TransHistory(String apiKey,
si.mazi.rescu.ParamsDigest signer,
si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
Long from,
Long count,
Long fromId,
Long endId,
BTCEAuthenticated.SortOrder order,
Long since,
Long end)
POST to retrieve transaction history from BTCE exchange.
|
BTCEAccountInfoReturn getInfo(@HeaderParam(value="Key") String apiKey, @HeaderParam(value="Sign") si.mazi.rescu.ParamsDigest signer, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, Long from, Long count, Long fromId, Long endId, BTCEAuthenticated.SortOrder order, Long since, Long end) throws IOException
from
- The ID of the transaction 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
BTCEOpenOrdersReturn ActiveOrders(@HeaderParam(value="Key") String apiKey, @HeaderParam(value="Sign") si.mazi.rescu.ParamsDigest signer, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, String pair) throws IOException
pair
- the pair to display the orders eg. btc_usd (default: all pairs)IOException
BTCEPlaceOrderReturn Trade(@HeaderParam(value="Key") String apiKey, @HeaderParam(value="Sign") si.mazi.rescu.ParamsDigest signer, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, String pair, BTCEOrder.Type type, BigDecimal rate, BigDecimal amount) throws IOException
pair
- pair, eg. btc_usdtype
- The transaction type (buy or sell)rate
- The price to buy/sellamount
- The amount which is necessary to buy/sellIOException
BTCECancelOrderReturn CancelOrder(@HeaderParam(value="Key") String apiKey, @HeaderParam(value="Sign") si.mazi.rescu.ParamsDigest signer, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, Long orderId) throws IOException
IOException
BTCETradeHistoryReturn TradeHistory(@HeaderParam(value="Key") String apiKey, @HeaderParam(value="Sign") si.mazi.rescu.ParamsDigest signer, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, 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
BTCETransHistoryReturn TransHistory(@HeaderParam(value="Key") String apiKey, @HeaderParam(value="Sign") si.mazi.rescu.ParamsDigest signer, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, 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.