public final class USOptionsAlgoOrderOptions
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 |
---|
USOptionsAlgoOrderOptions()
Constructs an instance without any options set.
|
Modifier and Type | Method and Description |
---|---|
USOptionsAlgoOrderOptions |
setAggression(int value)
Enables the aggression option.
|
USOptionsAlgoOrderOptions |
setAllOrNone()
Enables the all-or-none option.
|
USOptionsAlgoOrderOptions |
setClientData1(java.lang.String clientData)
Enables the client data 1 option.
|
USOptionsAlgoOrderOptions |
setClientData2(java.lang.String clientData)
Enables the client data 2 option.
|
USOptionsAlgoOrderOptions |
setClientData3(java.lang.String clientData)
Enables the client data 3 option.
|
USOptionsAlgoOrderOptions |
setEndTime(java.util.Date time)
Enables the end-time option.
|
USOptionsAlgoOrderOptions |
setMaxFloor(int floor)
Enables the max-floor option.
|
USOptionsAlgoOrderOptions |
setStartTime(java.util.Date time)
Enables the start-time option.
|
USOptionsAlgoOrderOptions |
setTimeInForce(TimeInForce tif)
Enables the time-in-force option.
|
public USOptionsAlgoOrderOptions()
public USOptionsAlgoOrderOptions setAllOrNone()
public USOptionsAlgoOrderOptions setTimeInForce(TimeInForce tif)
tif
- Time-in-force settingjava.lang.IllegalArgumentException
- setting a TIF value not appropriate for an Algo orderpublic USOptionsAlgoOrderOptions setStartTime(java.util.Date time)
time
- start timepublic USOptionsAlgoOrderOptions setEndTime(java.util.Date time)
time
- end timepublic USOptionsAlgoOrderOptions setAggression(int value)
value
- aggressionpublic USOptionsAlgoOrderOptions setMaxFloor(int floor)
floor
- max floor valuejava.lang.IllegalArgumentException
- setting a negative or zero
max-floorpublic USOptionsAlgoOrderOptions setClientData1(java.lang.String clientData)
clientData
- client data 1 valuejava.lang.IllegalArgumentException
- setting an empty or too large stringpublic USOptionsAlgoOrderOptions setClientData2(java.lang.String clientData)
clientData
- client data 2 valuejava.lang.IllegalArgumentException
- setting an empty or too large stringpublic USOptionsAlgoOrderOptions setClientData3(java.lang.String clientData)
clientData
- client data 3 valuejava.lang.IllegalArgumentException
- setting an empty or too large string
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.