public enum MarginType extends Enum<MarginType>
| Enum Constant and Description |
|---|
INDEFINITE
Customers can open positions overnight using unlimited margin.
|
ONE_DAY
The customer's open position needs to be closed on the same day.
|
| Modifier and Type | Method and Description |
|---|---|
static MarginType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MarginType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MarginType ONE_DAY
public static final MarginType INDEFINITE
public static MarginType[] values()
for (MarginType c : MarginType.values()) System.out.println(c);
public static MarginType 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.