public interface ANXV2
Modifier and Type | Method and Description |
---|---|
ANXGenericResponse |
cancelOrder(String apiKey,
si.mazi.rescu.ParamsDigest postBodySignatureCreator,
si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
String orderId,
String baseCurrency,
String counterCurrency)
Note: I know it's weird to have BTCEUR hardcoded in the URL, but it really doesn't seems to matter.
|
ANXAccountInfoWrapper |
getAccountInfo(String apiKey,
si.mazi.rescu.ParamsDigest postBodySignatureCreator,
si.mazi.rescu.SynchronizedValueFactory<Long> nonce) |
ANXTradeResultWrapper |
getExecutedTrades(String apiKey,
si.mazi.rescu.ParamsDigest postBodySignatureCreator,
si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
Long from,
Long to)
List of executed trades
|
ANXDepthWrapper |
getFullDepth(String tradeableIdentifier,
String currency) |
ANXDepthsWrapper |
getFullDepths(String tradeableIdentifier,
String currency,
String extraCurrencyPairs) |
ANXLagWrapper |
getLag() |
ANXOpenOrderWrapper |
getOpenOrders(String apiKey,
si.mazi.rescu.ParamsDigest postBodySignatureCreator,
si.mazi.rescu.SynchronizedValueFactory<Long> nonce) |
ANXOpenOrderWrapper |
getOpenOrders(String apiKey,
si.mazi.rescu.ParamsDigest postBodySignatureCreator,
si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
String baseCurrency,
String counterCurrency) |
ANXOrderResultWrapper |
getOrderResult(String apiKey,
si.mazi.rescu.ParamsDigest postBodySignatureCreator,
si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
String baseCurrency,
String counterCurrency,
String order,
String type)
Status of the order
|
ANXDepthWrapper |
getPartialDepth(String tradeableIdentifier,
String currency) |
ANXTickerWrapper |
getTicker(String tradeableIdentifier,
String currency) |
ANXTickersWrapper |
getTickers(String tradeableIdentifier,
String currency,
String extraCurrencyPairs) |
ANXTradesWrapper |
getTrades(String tradeableIdentifier,
String currency,
long since) |
ANXWalletHistoryWrapper |
getWalletHistory(String apiKey,
si.mazi.rescu.ParamsDigest postBodySignatureCreator,
si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
String currency,
Integer page)
Returns the History of the selected wallet
|
ANXGenericResponse |
placeOrder(String apiKey,
si.mazi.rescu.ParamsDigest postBodySignatureCreator,
si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
String baseCurrency,
String counterCurrency,
String type,
BigDecimal amount,
BigDecimal price) |
ANXBitcoinDepositAddressWrapper |
requestDepositAddress(String apiKey,
si.mazi.rescu.ParamsDigest postBodySignatureCreator,
si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
String currency) |
ANXWithdrawalResponseWrapper |
withdrawBtc(String apiKey,
si.mazi.rescu.ParamsDigest postBodySignatureCreator,
si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
String currency,
String address,
int amount,
int fee,
boolean noInstant,
boolean green) |
ANXLagWrapper getLag() throws ANXException, IOException
ANXException
IOException
ANXTickerWrapper getTicker(String tradeableIdentifier, String currency) throws ANXException, IOException
ANXException
IOException
ANXTickersWrapper getTickers(String tradeableIdentifier, String currency, String extraCurrencyPairs) throws ANXException, IOException
ANXException
IOException
ANXDepthWrapper getPartialDepth(String tradeableIdentifier, String currency) throws ANXException, IOException
ANXException
IOException
ANXDepthWrapper getFullDepth(String tradeableIdentifier, String currency) throws ANXException, IOException
ANXException
IOException
ANXDepthsWrapper getFullDepths(String tradeableIdentifier, String currency, String extraCurrencyPairs) throws ANXException, IOException
ANXException
IOException
ANXTradesWrapper getTrades(String tradeableIdentifier, String currency, long since) throws ANXException, IOException
ANXException
IOException
ANXAccountInfoWrapper getAccountInfo(@HeaderParam(value="Rest-Key") String apiKey, @HeaderParam(value="Rest-Sign") si.mazi.rescu.ParamsDigest postBodySignatureCreator, si.mazi.rescu.SynchronizedValueFactory<Long> nonce) throws ANXException, IOException
ANXException
IOException
ANXBitcoinDepositAddressWrapper requestDepositAddress(@HeaderParam(value="Rest-Key") String apiKey, @HeaderParam(value="Rest-Sign") si.mazi.rescu.ParamsDigest postBodySignatureCreator, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, String currency) throws ANXException, IOException
ANXException
IOException
ANXWithdrawalResponseWrapper withdrawBtc(@HeaderParam(value="Rest-Key") String apiKey, @HeaderParam(value="Rest-Sign") si.mazi.rescu.ParamsDigest postBodySignatureCreator, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, String currency, String address, int amount, int fee, boolean noInstant, boolean green) throws ANXException, IOException
ANXException
IOException
ANXOpenOrderWrapper getOpenOrders(@HeaderParam(value="Rest-Key") String apiKey, @HeaderParam(value="Rest-Sign") si.mazi.rescu.ParamsDigest postBodySignatureCreator, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, String baseCurrency, String counterCurrency) throws ANXException, IOException
ANXException
IOException
ANXOpenOrderWrapper getOpenOrders(@HeaderParam(value="Rest-Key") String apiKey, @HeaderParam(value="Rest-Sign") si.mazi.rescu.ParamsDigest postBodySignatureCreator, si.mazi.rescu.SynchronizedValueFactory<Long> nonce) throws ANXException, IOException
ANXException
IOException
ANXTradeResultWrapper getExecutedTrades(@HeaderParam(value="Rest-Key") String apiKey, @HeaderParam(value="Rest-Sign") si.mazi.rescu.ParamsDigest postBodySignatureCreator, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, Long from, Long to) throws ANXException, IOException
apiKey
- postBodySignatureCreator
- nonce
- from
- optional Unix timestampto
- optional Unix timestampANXException
IOException
ANXOrderResultWrapper getOrderResult(@HeaderParam(value="Rest-Key") String apiKey, @HeaderParam(value="Rest-Sign") si.mazi.rescu.ParamsDigest postBodySignatureCreator, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, String baseCurrency, String counterCurrency, String order, String type) throws ANXException, IOException
apiKey
- postBodySignatureCreator
- nonce
- order
- type
- ANXException
IOException
ANXGenericResponse placeOrder(@HeaderParam(value="Rest-Key") String apiKey, @HeaderParam(value="Rest-Sign") si.mazi.rescu.ParamsDigest postBodySignatureCreator, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, String baseCurrency, String counterCurrency, String type, BigDecimal amount, BigDecimal price) throws ANXException, IOException
postBodySignatureCreator
- amount
- can be omitted to place market orderANXException
IOException
ANXGenericResponse cancelOrder(@HeaderParam(value="Rest-Key") String apiKey, @HeaderParam(value="Rest-Sign") si.mazi.rescu.ParamsDigest postBodySignatureCreator, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, String orderId, String baseCurrency, String counterCurrency) throws ANXException, IOException
apiKey
- postBodySignatureCreator
- nonce
- orderId
- ANXException
IOException
ANXWalletHistoryWrapper getWalletHistory(@HeaderParam(value="Rest-Key") String apiKey, @HeaderParam(value="Rest-Sign") si.mazi.rescu.ParamsDigest postBodySignatureCreator, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, String currency, Integer page) throws ANXException, IOException
apiKey
- postBodySignatureCreator
- nonce
- currency
- page
- to fetch (can be null for first page)ANXException
IOException
Copyright © 2012–2016 Xeiam, LLC. All rights reserved.