public final class USOptionsOrderOptions
extends java.lang.Object
Not all order options are applicable for all venues or account types. Setting an option where not allowed or not applicable will result in an order reject.
Constructor and Description |
---|
USOptionsOrderOptions()
Constructs an instance without any options set.
|
Modifier and Type | Method and Description |
---|---|
USOptionsOrderOptions |
setAllOrNone()
Enables the all-or-none option.
|
USOptionsOrderOptions |
setAllowRouting()
Enables the allow-routing option.
|
USOptionsOrderOptions |
setArcaTracking()
Enables the ARCA tracking option.
|
USOptionsOrderOptions |
setClientData1(java.lang.String clientData)
Enables the client data 1 option.
|
USOptionsOrderOptions |
setClientData2(java.lang.String clientData)
Enables the client data 2 option.
|
USOptionsOrderOptions |
setClientData3(java.lang.String clientData)
Enables the client data 3 option.
|
USOptionsOrderOptions |
setCustomerType(CustomerType type)
Enables the customer-type option.
|
USOptionsOrderOptions |
setDiscretionOffset(int offset)
Enables the discretion offset option.
|
USOptionsOrderOptions |
setExpireTime(java.util.Date expire)
Enables the expire-time option.
|
USOptionsOrderOptions |
setIseDisplayRange(int range)
Enables the ISE display-range option.
|
USOptionsOrderOptions |
setIseDisplayWhen(byte when)
Enables the ISE display-when option.
|
USOptionsOrderOptions |
setIseExposureFlag(java.lang.String flag)
Enables the ISE exposure flag option.
|
USOptionsOrderOptions |
setISO(int id)
Enables the ISO option.
|
USOptionsOrderOptions |
setMaxFloor(int floor)
Enables the max-floor option.
|
USOptionsOrderOptions |
setMinQuantity(int qty)
Enables the min-quantity option.
|
USOptionsOrderOptions |
setPostOnly()
Enables the post-only option.
|
USOptionsOrderOptions |
setRoutingInstructions(RoutingInstructions instructions)
Enables the routing-instructions option.
|
USOptionsOrderOptions |
setTimeInForce(TimeInForce tif)
Enables the time-in-force option.
|
public USOptionsOrderOptions()
public USOptionsOrderOptions setPostOnly()
public USOptionsOrderOptions setAllowRouting()
public USOptionsOrderOptions setArcaTracking()
public USOptionsOrderOptions setAllOrNone()
public USOptionsOrderOptions setTimeInForce(TimeInForce tif)
tif
- Time-in-force settingjava.lang.IllegalArgumentException
- setting a TIF value not appropriate for an US-Options orderpublic USOptionsOrderOptions setExpireTime(java.util.Date expire)
TimeInForce.GOOD_TILL_DATE
TIF option and is required for it. It determines the time when
the order should expire.expire
- expiration timeTimeInForce.GOOD_TILL_DATE
public USOptionsOrderOptions setRoutingInstructions(RoutingInstructions instructions)
instructions
- routing instructionsjava.lang.IllegalArgumentException
- setting routing instructions not valid for an US-Options orderpublic USOptionsOrderOptions setCustomerType(CustomerType type)
type
- Customer typepublic USOptionsOrderOptions setClientData1(java.lang.String clientData)
clientData
- client data 1 valuejava.lang.IllegalArgumentException
- setting an empty or too large stringpublic USOptionsOrderOptions setClientData2(java.lang.String clientData)
clientData
- client data 2 valuejava.lang.IllegalArgumentException
- setting an empty or too large stringpublic USOptionsOrderOptions setClientData3(java.lang.String clientData)
clientData
- client data 3 valuejava.lang.IllegalArgumentException
- setting an empty or too large stringpublic USOptionsOrderOptions setIseExposureFlag(java.lang.String flag)
flag
- ISE exposure flag valuejava.lang.IllegalArgumentException
- setting an empty or too long flag valuepublic USOptionsOrderOptions setMaxFloor(int floor)
floor
- max floor valuejava.lang.IllegalArgumentException
- setting a negative or zero
max-floorpublic USOptionsOrderOptions setMinQuantity(int qty)
qty
- min-quantity valuejava.lang.IllegalArgumentException
- setting a negative or zero
min-quantitypublic USOptionsOrderOptions setISO(int id)
id
- ISO group-idjava.lang.IllegalArgumentException
- setting a negative or zero
group-idpublic USOptionsOrderOptions setDiscretionOffset(int offset)
offset
- discretion offset (scaled by Client.PRICE_SCALE
)public USOptionsOrderOptions setIseDisplayWhen(byte when)
when
- ISE display-when valuejava.lang.IllegalArgumentException
- setting an invalid valuepublic USOptionsOrderOptions setIseDisplayRange(int range)
range
- ISE display-range value
Securities are offered by Lime Trading Corp., member FINRA & SIPC,NFA. All investing incurs risk, including but not limited to loss of principal. Further information may be found on our Disclosures Page.
Please read the following documents Characteristics and Risks of Standardized Options before trading options.
Options involve risk and are not suitable for all investors as the special risks inherent to options trading may expose investors to potentially rapid and substantial losses. Options trading privileges are subject to Lime Trading Corp. review and approval. Hedging and protective strategies generally involve additional costs and do not assure a profit or guarantee against loss. With long options, investors may lose 100% of funds invested. Covered calls provide income, downside protection only to the extent of the premium received, and limit upside potential to the strike price plus premium received. Multi-leg option orders are not a standard option trade. There is no national best bid or offer for multi-leg orders. Multi-leg trades are executed on the exchanges at the discretion of specialists or market makers, who cannot be held to a net price on a multi-leg order. Therefore, you may not receive the national best bid or offer on each individual leg of an order. Multi-leg orders are executed as a single trade on the same exchange. Legs cannot be executed separately on different exchanges to get the national best bid or offer for each leg. Each individual leg of a multi-leg order can be subject to early exercise risk, possibly taking away the protection that the multi-leg position may provide. Partial or full assignment on a leg may originate a margin call or losses greater than you anticipated when you entered into the position. When a multi-leg order is canceled or filled, additional reporting may be required by the specialist or market maker. Reporting fills and cancels may cause delays and create risks, especially in fast moving markets. Other risks might be associated with multi-leg options trading.