Skip to main content

futu_cache/trd_cache/types/
fill.rs

1/// Cached current-order fill row, matching the public/backend projection used
2/// by current fill queries and direct fill notifications.
3#[derive(Debug, Clone, Default, PartialEq)]
4pub struct CachedOrderFill {
5    pub fill_id: u64,
6    pub fill_id_ex: String,
7    pub order_id: u64,
8    pub order_id_ex: String,
9    pub code: String,
10    pub name: String,
11    pub trd_side: i32,
12    pub qty: f64,
13    pub price: f64,
14    pub create_timestamp: Option<f64>,
15    pub update_timestamp: Option<f64>,
16    pub counter_broker_id: Option<i32>,
17    pub status: Option<i32>,
18    pub trd_market: Option<i32>,
19    pub jp_acc_type: Option<i32>,
20}