Uses of Class
org.knowm.xchange.luno.dto.trade.OrderType
-
Packages that use OrderType Package Description org.knowm.xchange.luno org.knowm.xchange.luno.dto.trade -
-
Uses of OrderType in org.knowm.xchange.luno
Methods in org.knowm.xchange.luno with parameters of type OrderType Modifier and Type Method Description LunoQuote
LunoAPI. createQuote(OrderType type, BigDecimal baseAmount, String pair)
Creates a new quote to buy or sell a particular amount.
You can specify either the exact amount that you want to pay or the exact amount that you want too receive.
For example, to buy exactly 0.1 Bitcoin using ZAR, you would create a quote to BUY 0.1 XBTZAR.LunoQuote
LunoAPIImpl. createQuote(OrderType type, BigDecimal baseAmount, String pair)
LunoQuote
LunoAuthenticated. createQuote(si.mazi.rescu.ParamsDigest auth, OrderType type, BigDecimal baseAmount, String pair)
Creates a new quote to buy or sell a particular amount.
You can specify either the exact amount that you want to pay or the exact amount that you want too receive.
For example, to buy exactly 0.1 Bitcoin using ZAR, you would create a quote to BUY 0.1 XBTZAR.LunoPostOrder
LunoAPI. postLimitOrder(String pair, OrderType type, BigDecimal volume, BigDecimal price, String baseAccountId, String counterAccountId)
Create a new trade order.
Warning! Orders cannot be reversed once they have executed.LunoPostOrder
LunoAPIImpl. postLimitOrder(String pair, OrderType type, BigDecimal volume, BigDecimal price, String baseAccountId, String counterAccountId)
LunoPostOrder
LunoAuthenticated. postLimitOrder(si.mazi.rescu.ParamsDigest auth, String pair, OrderType type, BigDecimal volume, BigDecimal price, String baseAccountId, String counterAccountId)
Create a new trade order.
Warning! Orders cannot be reversed once they have executed.LunoPostOrder
LunoAPI. postMarketOrder(String pair, OrderType type, BigDecimal counterVolume, BigDecimal baseVolume, String baseAccountId, String counterAccountId)
Create a new market order.
Warning! Orders cannot be reversed once they have executed.LunoPostOrder
LunoAPIImpl. postMarketOrder(String pair, OrderType type, BigDecimal counterVolume, BigDecimal baseVolume, String baseAccountId, String counterAccountId)
LunoPostOrder
LunoAuthenticated. postMarketOrder(si.mazi.rescu.ParamsDigest auth, String pair, OrderType type, BigDecimal counterVolume, BigDecimal baseVolume, String baseAccountId, String counterAccountId)
Create a new market order.
Warning! Orders cannot be reversed once they have executed. -
Uses of OrderType in org.knowm.xchange.luno.dto.trade
Fields in org.knowm.xchange.luno.dto.trade declared as OrderType Modifier and Type Field Description OrderType
LunoOrders.Order. type
OrderType
LunoUserTrades.UserTrade. type
Methods in org.knowm.xchange.luno.dto.trade that return OrderType Modifier and Type Method Description static OrderType
OrderType. create(String s)
static OrderType
OrderType. valueOf(String name)
Returns the enum constant of this type with the specified name.static OrderType[]
OrderType. values()
Returns an array containing the constants of this enum type, in the order they are declared.Constructors in org.knowm.xchange.luno.dto.trade with parameters of type OrderType Constructor Description Order(String orderId, long creationTimestamp, long expirationTimestamp, long completedTimestamp, OrderType type, State state, BigDecimal limitPrice, BigDecimal limitVolume, BigDecimal base, BigDecimal counter, BigDecimal feeBase, BigDecimal feeCounter, String pair)
UserTrade(String pair, String orderId, OrderType type, long timestamp, BigDecimal price, BigDecimal volume, BigDecimal base, BigDecimal counter, BigDecimal feeBase, BigDecimal feeCounter, boolean buy)
-