feat: add decision-scoped buy denials to broker submission
This commit is contained in:
@@ -37,6 +37,7 @@ impl Strategy for DecisionQuoteReader {
|
||||
self.day_count += 1;
|
||||
if self.day_count == 1 {
|
||||
return Ok(StrategyDecision {
|
||||
buy_denials: Default::default(),
|
||||
order_intents: vec![OrderIntent::Value {
|
||||
symbol: "000001.SZ".to_string(),
|
||||
value: 5_000.0,
|
||||
@@ -626,6 +627,7 @@ impl Strategy for MultiTimeDecisionQuoteReader {
|
||||
self.day_count += 1;
|
||||
if self.day_count == 1 {
|
||||
return Ok(StrategyDecision {
|
||||
buy_denials: Default::default(),
|
||||
order_intents: vec![OrderIntent::Value {
|
||||
symbol: "000001.SZ".to_string(),
|
||||
value: 5_000.0,
|
||||
|
||||
Reference in New Issue
Block a user