apple-quant-algorithmic 0.4.0

Apple Quant's algorithmic library.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use crate::{
	instrument::InstrumentSpec, price::AbsolutePrice, timestamp::TradeTimestamp,
	volume::DirectionalIntentVolume,
};

#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub struct PartialOrderFill<IS: InstrumentSpec> {
	pub price: AbsolutePrice<IS>,
	pub directional_intent_volume: DirectionalIntentVolume<IS>,
	pub timestamp: TradeTimestamp,
}