@@ -115,7 +115,7 @@ pub fn generate_msv_by_trades(mut trades: Vec<Trade>, mills_back: Decimal, simpl
const GAMMA: Decimal = dec!(0.5);
// 多少分钟
- let a = (end_time - start_time) / 1000;
+ let a = (end_time - start_time) / 60000;
// 多少笔
let b = trades.len().to_i64().unwrap();
// 一分钟多少笔