public interface MtGoxAPI
| Modifier and Type | Interface and Description |
|---|---|
static class |
MtGoxAPI.OrderType |
| Modifier and Type | Method and Description |
|---|---|
AccountInfo |
getAccountInfo() |
List<Depth> |
getAllDepthSince(long timestamp) |
List<Trade> |
getAllTradesSince(long timestamp) |
Currency |
getBaseCurrency() |
CurrencyInfo |
getCurrencyInfo(Currency currency) |
CurrencyInfo |
getCurrencyInfo(String currencyCode) |
List<Depth> |
getDepthHistory() |
FullDepth |
getFullDepth() |
Order[] |
getOpenOrders() |
OrderResult |
getOrderResult(MtGoxAPI.OrderType orderType,
String orderRef) |
Ticker |
getTicker() |
List<Ticker> |
getTickerHistory() |
List<Trade> |
getTradeHistory() |
String |
placeMarketOrder(MtGoxAPI.OrderType orderType,
MtGoxUnitOfCredit volume) |
String |
placeOrder(MtGoxAPI.OrderType orderType,
MtGoxUnitOfCredit price,
MtGoxUnitOfCredit volume) |
Currency getBaseCurrency()
OrderResult getOrderResult(MtGoxAPI.OrderType orderType, String orderRef) throws Exception
ExceptionString placeMarketOrder(MtGoxAPI.OrderType orderType, MtGoxUnitOfCredit volume) throws Exception
ExceptionString placeOrder(MtGoxAPI.OrderType orderType, MtGoxUnitOfCredit price, MtGoxUnitOfCredit volume) throws Exception
ExceptionAccountInfo getAccountInfo() throws Exception
ExceptionCurrencyInfo getCurrencyInfo(Currency currency) throws Exception
ExceptionCurrencyInfo getCurrencyInfo(String currencyCode) throws Exception
ExceptionCopyright © 2012. All Rights Reserved.