#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub enum TimingCondition {
Remote(RemoteTimingCondition),
Client(ClientTimingCondition),
}
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub enum RemoteTimingCondition {
/// Received and accepted by the exchange gateway.
Acknowledged,
/// Either fully booked and/or the first matching attempt is made. After acknowledgement, this is the next soonest status update possible.
Processed,
/// First partial fill or fully filled on first matching attempt.
PartialFill,
/// Completed only by being fully filled.
FullyFilled,
/// Either rejected at the gateway, fully filled, or canceled.
Completed,
}
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub enum ClientTimingCondition {
/// Converted into a remote order.
Activated,
}