stock-trek 0.5.3

Stock Trek time-series analysis
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use crate::order::{
    order_intent::OrderIntent, order_pricing::OrderPricing, order_quantity::OrderQuantity,
    order_side::OrderSide, order_timing::OrderTiming,
};
use serde::{Deserialize, Serialize};

#[derive(Debug, Clone, Hash, Serialize, Deserialize)]
pub struct SingleOrder<T, N> {
    pub base: T,
    pub quote: T,
    pub timing: OrderTiming<N>,
    pub pricing: OrderPricing<N>,
    pub intent: OrderIntent,
    pub side: OrderSide,
    pub quantity: OrderQuantity<N>,
}