public class Bitso extends Object
| Constructor and Description |
|---|
Bitso(String key,
String secret,
String clientId) |
Bitso(String key,
String secret,
String clientId,
int retries) |
public OrderBook getOrderBook()
public BitsoBalance getBalance() throws Exception
Exceptionpublic BitsoUserTransactions getUserTransactions()
public BitsoUserTransactions getUserTransactions(int offset, int limit, com.bitso.BitsoUserTransactions.SORT_ORDER sortOrder)
public BitsoOpenOrders getOpenOrders() throws Exception
Exceptionpublic BitsoTicker getTicker()
public BitsoLookupOrders getLookupOrders(String orderId) throws Exception
Exceptionpublic BigDecimal placeBuyMarketOrder(BigDecimal mxnAmountToSpend)
public BigDecimal placeSellMarketOrder(BigDecimal btcAmountToSpend)
public 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
Exceptionpublic BitsoTransferQuote requestQuote(BigDecimal btcAmount, BigDecimal amount, String currency, boolean full) throws Exception
Exceptionpublic BitsoTransfer createTransfer(BigDecimal btcAmount, BigDecimal amount, String currency, BigDecimal rate, String paymentOutlet, HashMap<String,Object> requiredFields) throws Exception
Exceptionpublic BitsoTransfer getTransferStatus(String transferId)
Copyright © 2015. All rights reserved.