apple-quant-algorithmic 0.3.0

Apple Quant's algorithmic library.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub enum ExposureReversion {
	#[cfg(feature = "exposure-reversion")]
	Enabled,
	Disabled,
}

impl ExposureReversion {
	pub fn is_enabled(
		self,
	) -> bool {
		self != Self::Disabled
	}
}