|
|
@@ -39,6 +39,7 @@ pub fn run_cci_cache(cci_arc: Arc<Mutex<CentralControlInfo>>) -> Arc<Mutex<Centr
|
|
|
pos: Default::default(),
|
|
|
entry_price: Default::default(),
|
|
|
now_price: Default::default(),
|
|
|
+ trading_volume: Default::default(),
|
|
|
};
|
|
|
let cci_cache_arc = Arc::new(Mutex::new(cci_cache));
|
|
|
let cci_cache_arc_clone = cci_cache_arc.clone();
|
|
|
@@ -54,6 +55,7 @@ pub fn run_cci_cache(cci_arc: Arc<Mutex<CentralControlInfo>>) -> Arc<Mutex<Centr
|
|
|
cci_cache.unrealized_pn_l = cci.unrealized_pn_l;
|
|
|
cci_cache.now_balance = cci.now_balance;
|
|
|
cci_cache.entry_price = cci.entry_price;
|
|
|
+ cci_cache.trading_volume = cci.trading_volume;
|
|
|
}
|
|
|
}
|
|
|
});
|