统一调度时刻使用已知tick
This commit is contained in:
@@ -4680,9 +4680,8 @@ where
|
||||
let quote_quantity_limited =
|
||||
self.quote_quantity_limited_for_window(matching_type, start_cursor, end_cursor);
|
||||
let lot = round_lot.max(1);
|
||||
let use_decision_time_quote = matching_type == MatchingType::NextTickLast
|
||||
&& start_cursor.is_some()
|
||||
&& end_cursor.is_none_or(|end| start_cursor.is_some_and(|start| end <= start));
|
||||
let use_decision_time_quote =
|
||||
matching_type == MatchingType::NextTickLast && start_cursor.is_some();
|
||||
let eligible_quotes: Vec<&IntradayExecutionQuote> = if use_decision_time_quote {
|
||||
self.latest_known_quote_at_or_before(
|
||||
quotes,
|
||||
|
||||
Reference in New Issue
Block a user