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 log,
String apiKey,
String secret) |
| Modifier and Type | Method and Description |
|---|---|
static int |
convertPriceAUDtoInt(double d) |
static int |
convertVolumeBTCtoInt(double d) |
Order[] |
getOpenOrders() |
OrderResult |
getOrderResult(MTGOXAPI.OrderType orderType,
String orderRef) |
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 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
Copyright © 2012. All Rights Reserved.