@@ -218,7 +218,7 @@ pub fn generate_msv_by_trades(mut trades: Vec<Trade>, simple_depths: Vec<SimpleD
break;
}
// 时间范围合法性判断,只统计那一秒以内的深度总交易量
- if index_timestamp + step_timestamp < simple_depths[depth_index].time {
+ if index_timestamp < simple_depths[depth_index].time {
// 这一秒的所有深度数据求和