feat(stock-pool): unify target execution, durable intent state and ETF rules

This commit is contained in:
boris
2026-09-12 03:55:00 +08:00
parent 29eafc79e2
commit 6ffa0346aa
26 changed files with 7223 additions and 38 deletions
+4
View File
@@ -4097,6 +4097,10 @@ fn execution_quote_symbols_for_decision(
for intent in &decision.order_intents {
match intent.unwrapped() {
OrderIntent::StockPool { contract } => {
symbols.extend(contract.selection.requested_symbols.iter().cloned());
symbols.extend(portfolio.positions().keys().cloned());
}
OrderIntent::Shares { symbol, .. }
| OrderIntent::LimitShares { symbol, .. }
| OrderIntent::Lots { symbol, .. }