跳过无业务分钟回调
This commit is contained in:
@@ -384,6 +384,10 @@ impl<C, R> BrokerSimulator<C, R> {
|
||||
})
|
||||
.collect()
|
||||
}
|
||||
|
||||
pub fn has_open_orders(&self) -> bool {
|
||||
!self.open_orders.borrow().is_empty()
|
||||
}
|
||||
}
|
||||
|
||||
impl<C, R> BrokerSimulator<C, R>
|
||||
|
||||
Reference in New Issue
Block a user