public class Bitso extends Object
| Constructor and Description |
|---|
Bitso(String key,
String secret,
String clientId) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
cancelOrder(String orderId) |
BitsoBalance |
getBalance() |
String |
getDepositAddress() |
BitsoLookupOrders |
getLookupOrders(String orderId) |
BitsoOpenOrders |
getOpenOrders() |
OrderBook |
getOrderBook() |
BookOrder |
placeBuyLimitOrder(BigDecimal price,
BigDecimal amount) |
BigDecimal |
placeBuyMarketOrder(BigDecimal mxnAmountToSpend) |
BookOrder |
placeSellLimitOrder(BigDecimal price,
BigDecimal amount) |
BigDecimal |
placeSellMarketOrder(BigDecimal btcAmountToSpend) |
static BookOrder |
processBookOrderJSON(String json) |
boolean |
withdrawBTC(String address,
BigDecimal amount) |
boolean |
withdrawMXN(BigDecimal amount,
String recipientGivenName,
String recipientFamilyName,
String clabe,
String notesRef,
String numericRef) |
public BitsoBalance getBalance() throws Exception
Exceptionpublic BitsoOpenOrders getOpenOrders() throws Exception
Exceptionpublic BitsoLookupOrders getLookupOrders(String orderId) throws Exception
Exceptionpublic BigDecimal placeBuyMarketOrder(BigDecimal mxnAmountToSpend) throws Exception
Exceptionpublic BigDecimal placeSellMarketOrder(BigDecimal btcAmountToSpend) throws Exception
Exceptionpublic BookOrder placeBuyLimitOrder(BigDecimal price, BigDecimal amount) throws Exception
Exceptionpublic BookOrder placeSellLimitOrder(BigDecimal price, BigDecimal amount) throws Exception
Exceptionpublic boolean withdrawBTC(String address, BigDecimal amount) throws Exception
Exceptionpublic boolean withdrawMXN(BigDecimal amount, String recipientGivenName, String recipientFamilyName, String clabe, String notesRef, String numericRef) throws Exception
ExceptionCopyright © 2015. All rights reserved.