@Path(value="api/2")
@Produces(value="application/json")
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,
Long from,
Long to)
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,
BigInteger amount,
int fee,
boolean noInstant,
boolean green) |
ANXWithdrawalResponseWrapper |
withdrawXrp(String apiKey,
si.mazi.rescu.ParamsDigest postBodySignatureCreator,
si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
String currency,
String address,
BigInteger amount,
int fee,
boolean noInstant,
boolean green,
String destinationTag) |
@GET @Path(value="money/order/lag") ANXLagWrapper getLag() throws ANXException, IOException
ANXExceptionIOException@GET
@Path(value="{ident}{currency}/money/ticker")
ANXTickerWrapper getTicker(@PathParam(value="ident")
String tradeableIdentifier,
@PathParam(value="currency")
String currency)
throws ANXException,
IOException
ANXExceptionIOException@GET
@Path(value="{ident}{currency}/money/ticker")
ANXTickersWrapper getTickers(@PathParam(value="ident")
String tradeableIdentifier,
@PathParam(value="currency")
String currency,
@QueryParam(value="extraCcyPairs")
String extraCurrencyPairs)
throws ANXException,
IOException
ANXExceptionIOException@GET
@Path(value="{ident}{currency}/money/depth/fetch")
ANXDepthWrapper getPartialDepth(@PathParam(value="ident")
String tradeableIdentifier,
@PathParam(value="currency")
String currency)
throws ANXException,
IOException
ANXExceptionIOException@GET
@Path(value="{ident}{currency}/money/depth/full")
ANXDepthWrapper getFullDepth(@PathParam(value="ident")
String tradeableIdentifier,
@PathParam(value="currency")
String currency)
throws ANXException,
IOException
ANXExceptionIOException@GET
@Path(value="{ident}{currency}/money/depth/full")
ANXDepthsWrapper getFullDepths(@PathParam(value="ident")
String tradeableIdentifier,
@PathParam(value="currency")
String currency,
@QueryParam(value="extraCcyPairs")
String extraCurrencyPairs)
throws ANXException,
IOException
ANXExceptionIOException@GET
@Path(value="{ident}{currency}/money/trade/fetch")
ANXTradesWrapper getTrades(@PathParam(value="ident")
String tradeableIdentifier,
@PathParam(value="currency")
String currency,
@QueryParam(value="since")
long since)
throws ANXException,
IOException
ANXExceptionIOException@POST @Path(value="money/info") @Consumes(value="application/x-www-form-urlencoded") ANXAccountInfoWrapper getAccountInfo(@HeaderParam(value="Rest-Key") String apiKey, @HeaderParam(value="Rest-Sign") si.mazi.rescu.ParamsDigest postBodySignatureCreator, @FormParam(value="nonce") si.mazi.rescu.SynchronizedValueFactory<Long> nonce) throws ANXException, IOException
ANXExceptionIOException@POST
@Path(value="money/{currency}/address")
@Consumes(value="application/x-www-form-urlencoded")
ANXBitcoinDepositAddressWrapper requestDepositAddress(@HeaderParam(value="Rest-Key")
String apiKey,
@HeaderParam(value="Rest-Sign")
si.mazi.rescu.ParamsDigest postBodySignatureCreator,
@FormParam(value="nonce")
si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
@PathParam(value="currency")
String currency)
throws ANXException,
IOException
ANXExceptionIOException@POST
@Path(value="money/{currency}/send_simple")
@Consumes(value="application/x-www-form-urlencoded")
ANXWithdrawalResponseWrapper withdrawBtc(@HeaderParam(value="Rest-Key")
String apiKey,
@HeaderParam(value="Rest-Sign")
si.mazi.rescu.ParamsDigest postBodySignatureCreator,
@FormParam(value="nonce")
si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
@PathParam(value="currency")
String currency,
@FormParam(value="address")
String address,
@FormParam(value="amount_int")
BigInteger amount,
@FormParam(value="fee_int")
int fee,
@FormParam(value="no_instant")
boolean noInstant,
@FormParam(value="green")
boolean green)
throws ANXException,
IOException
ANXExceptionIOException@POST
@Path(value="money/{currency}/send_simple")
@Consumes(value="application/x-www-form-urlencoded")
ANXWithdrawalResponseWrapper withdrawXrp(@HeaderParam(value="Rest-Key")
String apiKey,
@HeaderParam(value="Rest-Sign")
si.mazi.rescu.ParamsDigest postBodySignatureCreator,
@FormParam(value="nonce")
si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
@PathParam(value="currency")
String currency,
@FormParam(value="address")
String address,
@FormParam(value="amount_int")
BigInteger amount,
@FormParam(value="fee_int")
int fee,
@FormParam(value="no_instant")
boolean noInstant,
@FormParam(value="green")
boolean green,
@FormParam(value="destinationTag")
String destinationTag)
throws ANXException,
IOException
ANXExceptionIOException@POST
@Path(value="{baseCurrency}{counterCurrency}/money/orders")
@Consumes(value="application/x-www-form-urlencoded")
ANXOpenOrderWrapper getOpenOrders(@HeaderParam(value="Rest-Key")
String apiKey,
@HeaderParam(value="Rest-Sign")
si.mazi.rescu.ParamsDigest postBodySignatureCreator,
@FormParam(value="nonce")
si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
@PathParam(value="baseCurrency")
String baseCurrency,
@PathParam(value="counterCurrency")
String counterCurrency)
throws ANXException,
IOException
ANXExceptionIOException@POST @Path(value="money/orders") @Consumes(value="application/x-www-form-urlencoded") ANXOpenOrderWrapper getOpenOrders(@HeaderParam(value="Rest-Key") String apiKey, @HeaderParam(value="Rest-Sign") si.mazi.rescu.ParamsDigest postBodySignatureCreator, @FormParam(value="nonce") si.mazi.rescu.SynchronizedValueFactory<Long> nonce) throws ANXException, IOException
ANXExceptionIOException@POST @Path(value="money/trade/list") @Consumes(value="application/x-www-form-urlencoded") ANXTradeResultWrapper getExecutedTrades(@HeaderParam(value="Rest-Key") String apiKey, @HeaderParam(value="Rest-Sign") si.mazi.rescu.ParamsDigest postBodySignatureCreator, @FormParam(value="nonce") si.mazi.rescu.SynchronizedValueFactory<Long> nonce, @FormParam(value="from") Long from, @FormParam(value="to") Long to) throws ANXException, IOException
apiKey - postBodySignatureCreator - nonce - from - optional Unix timestampto - optional Unix timestampANXExceptionIOException@POST
@Path(value="{baseCurrency}{counterCurrency}/money/order/result")
@Consumes(value="application/x-www-form-urlencoded")
ANXOrderResultWrapper getOrderResult(@HeaderParam(value="Rest-Key")
String apiKey,
@HeaderParam(value="Rest-Sign")
si.mazi.rescu.ParamsDigest postBodySignatureCreator,
@FormParam(value="nonce")
si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
@PathParam(value="baseCurrency")
String baseCurrency,
@PathParam(value="counterCurrency")
String counterCurrency,
@FormParam(value="order")
String order,
@FormParam(value="type")
String type)
throws ANXException,
IOException
apiKey - postBodySignatureCreator - nonce - order - type - ANXExceptionIOException@POST
@Path(value="{baseCurrency}{counterCurrency}/money/order/add")
@Consumes(value="application/x-www-form-urlencoded")
ANXGenericResponse placeOrder(@HeaderParam(value="Rest-Key")
String apiKey,
@HeaderParam(value="Rest-Sign")
si.mazi.rescu.ParamsDigest postBodySignatureCreator,
@FormParam(value="nonce")
si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
@PathParam(value="baseCurrency")
String baseCurrency,
@PathParam(value="counterCurrency")
String counterCurrency,
@FormParam(value="type")
String type,
@FormParam(value="amount")
BigDecimal amount,
@FormParam(value="price")
BigDecimal price)
throws ANXException,
IOException
postBodySignatureCreator - amount - can be omitted to place market orderANXExceptionIOException@POST
@Path(value="{baseCurrency}{counterCurrency}/money/order/cancel")
@Consumes(value="application/x-www-form-urlencoded")
ANXGenericResponse cancelOrder(@HeaderParam(value="Rest-Key")
String apiKey,
@HeaderParam(value="Rest-Sign")
si.mazi.rescu.ParamsDigest postBodySignatureCreator,
@FormParam(value="nonce")
si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
@FormParam(value="oid")
String orderId,
@PathParam(value="baseCurrency")
String baseCurrency,
@PathParam(value="counterCurrency")
String counterCurrency)
throws ANXException,
IOException
apiKey - postBodySignatureCreator - nonce - orderId - ANXExceptionIOException@POST @Path(value="money/wallet/history") @Consumes(value="application/x-www-form-urlencoded") ANXWalletHistoryWrapper getWalletHistory(@HeaderParam(value="Rest-Key") String apiKey, @HeaderParam(value="Rest-Sign") si.mazi.rescu.ParamsDigest postBodySignatureCreator, @FormParam(value="nonce") si.mazi.rescu.SynchronizedValueFactory<Long> nonce, @FormParam(value="currency") String currency, @FormParam(value="page") Integer page, @FormParam(value="from") Long from, @FormParam(value="to") Long to) throws ANXException, IOException
apiKey - postBodySignatureCreator - nonce - currency - page - to fetch (can be null for first page)from - start time (can be null)to - end time (can be null)ANXExceptionIOExceptionCopyright © 2012–2019 Knowm Inc.. All rights reserved.