Uses of Enum
org.knowm.xchange.luno.dto.trade.OrderType
Packages that use OrderType
-
Uses of OrderType in org.knowm.xchange.luno
Methods in org.knowm.xchange.luno with parameters of type OrderTypeModifier and TypeMethodDescriptionLunoAPI.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.LunoAPIImpl.createQuote
(OrderType type, BigDecimal baseAmount, String pair) 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.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.LunoAPIImpl.postLimitOrder
(String pair, OrderType type, BigDecimal volume, BigDecimal price, String baseAccountId, String counterAccountId) 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.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.LunoAPIImpl.postMarketOrder
(String pair, OrderType type, BigDecimal counterVolume, BigDecimal baseVolume, String baseAccountId, String counterAccountId) 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 OrderTypeModifier and TypeFieldDescriptionfinal OrderType
LunoOrders.Order.type
final OrderType
LunoUserTrades.UserTrade.type
Methods in org.knowm.xchange.luno.dto.trade that return OrderTypeModifier and TypeMethodDescriptionstatic OrderType
static OrderType
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 OrderTypeModifierConstructorDescriptionOrder
(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)