pub enum TimeInForce {
Day,
GoodTilCanceled,
ImmediateOrCancel,
GoodTilDate,
OnOpen,
FillOrKill,
DayTilCanceled,
Auction,
}Expand description
Time in force specifies how long an order remains active.
Variants§
Day
Valid for the day only.
GoodTilCanceled
Good until canceled. The order will continue to work within the system and in the marketplace until it executes or is canceled. GTC orders will be automatically cancelled under certain conditions.
ImmediateOrCancel
Immediate or Cancel. Any portion that is not filled as soon as it becomes available in the market is canceled.
GoodTilDate
Good until Date. It will remain working within the system and in the marketplace until it executes or until the close of the market on the date specified.
OnOpen
Market-on-open (MOO) or limit-on-open (LOO) order.
FillOrKill
Fill-or-Kill. If the entire order does not execute as soon as it becomes available, the entire order is canceled.
DayTilCanceled
Day until Canceled.
Auction
Auction - for auction orders.
Trait Implementations§
Source§impl Clone for TimeInForce
impl Clone for TimeInForce
Source§fn clone(&self) -> TimeInForce
fn clone(&self) -> TimeInForce
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more