public class MTGOXAPI extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
MTGOXAPI.Currency |
static class |
MTGOXAPI.OrderType |
| Modifier and Type | Field and Description |
|---|---|
static double |
AUD_INT_MULTIPLIER |
static double |
BTC_VOL_INT_MULTIPLIER |
static double |
USD_INT_MULTIPLIER |
| Constructor and Description |
|---|
MTGOXAPI(Logger logger,
String apiKey,
String secret) |
| Modifier and Type | Method and Description |
|---|---|
static int |
convertPriceAUDtoInt(double d) |
static int |
convertVolumeBTCtoInt(double d) |
FullDepth |
getFullDepth() |
Order[] |
getOpenOrders() |
OrderResult |
getOrderResult(MTGOXAPI.OrderType orderType,
String orderRef) |
List<Offer> |
getRealtimeAsks() |
List<Offer> |
getRealtimeBids() |
Ticker |
getTicker() |
String |
placeMarketOrder(MTGOXAPI.OrderType orderType,
double volume) |
String |
placeOrder(MTGOXAPI.OrderType orderType,
Double price,
double volume) |
public static double USD_INT_MULTIPLIER
public static double AUD_INT_MULTIPLIER
public static double BTC_VOL_INT_MULTIPLIER
public FullDepth getFullDepth() throws IOException
IOExceptionpublic static int convertVolumeBTCtoInt(double d)
public static int convertPriceAUDtoInt(double d)
public String placeOrder(MTGOXAPI.OrderType orderType, Double price, double volume) throws IOException, NoSuchAlgorithmException, InvalidKeyException
public String placeMarketOrder(MTGOXAPI.OrderType orderType, double volume) throws IOException, NoSuchAlgorithmException, InvalidKeyException
public OrderResult getOrderResult(MTGOXAPI.OrderType orderType, String orderRef) throws IOException, NoSuchAlgorithmException, InvalidKeyException
public Order[] getOpenOrders() throws IOException, NoSuchAlgorithmException, InvalidKeyException
public Ticker getTicker() throws IOException
IOExceptionCopyright © 2012. All Rights Reserved.