public enum OrderSide extends Enum<OrderSide>
| Enum Constant and Description |
|---|
BUY
Buy
|
SELL
Sell
|
SHORT
Short Sell Order
|
| Modifier and Type | Method and Description |
|---|---|
static OrderSide |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OrderSide[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OrderSide BUY
public static final OrderSide SELL
public static final OrderSide SHORT
public static OrderSide[] values()
for (OrderSide c : OrderSide.values()) System.out.println(c);
public static OrderSide valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2025 Webull. All rights reserved.