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
ANXExceptionIOExceptionANXTickerWrapper getTicker(String tradeableIdentifier, String currency) throws ANXException, IOException
ANXExceptionIOExceptionANXTickersWrapper getTickers(String tradeableIdentifier, String currency, String extraCurrencyPairs) throws ANXException, IOException
ANXExceptionIOExceptionANXDepthWrapper getPartialDepth(String tradeableIdentifier, String currency) throws ANXException, IOException
ANXExceptionIOExceptionANXDepthWrapper getFullDepth(String tradeableIdentifier, String currency) throws ANXException, IOException
ANXExceptionIOExceptionANXDepthsWrapper getFullDepths(String tradeableIdentifier, String currency, String extraCurrencyPairs) throws ANXException, IOException
ANXExceptionIOExceptionANXTradesWrapper getTrades(String tradeableIdentifier, String currency, long since) throws ANXException, IOException
ANXExceptionIOExceptionANXAccountInfoWrapper 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
ANXExceptionIOExceptionANXBitcoinDepositAddressWrapper 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
ANXExceptionIOExceptionANXWithdrawalResponseWrapper 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
ANXExceptionIOExceptionANXOpenOrderWrapper 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
ANXExceptionIOExceptionANXOpenOrderWrapper 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
ANXExceptionIOExceptionANXTradeResultWrapper 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 timestampANXExceptionIOExceptionANXOrderResultWrapper 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 - ANXExceptionIOExceptionANXGenericResponse 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 orderANXExceptionIOExceptionANXGenericResponse 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 - ANXExceptionIOExceptionANXWalletHistoryWrapper 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)ANXExceptionIOExceptionCopyright © 2012–2017 Xeiam, LLC. All rights reserved.