apple-quant-algorithmic 0.1.0

Apple Quant's algorithmic trading api
Documentation
#[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,

	/// Canceled by the user or conditionally.
	Canceled,
}