修正回测执行时tick取价

This commit is contained in:
boris
2026-05-28 17:32:40 +08:00
parent 8c86918970
commit c6dc1d1474
4 changed files with 215 additions and 16 deletions
+4
View File
@@ -291,6 +291,10 @@ impl<C, R> BrokerSimulator<C, R> {
self.execution_price_field
}
pub fn intraday_execution_start_time(&self) -> Option<NaiveTime> {
self.intraday_execution_start_time
}
pub fn open_order_views(&self) -> Vec<OpenOrderView> {
self.open_orders
.borrow()