修正回测执行时tick取价
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user