Add dynamic universe and subscription controls
This commit is contained in:
@@ -787,6 +787,30 @@ where
|
||||
self.cancel_all_open_orders(date, reason, report);
|
||||
Ok(())
|
||||
}
|
||||
OrderIntent::UpdateUniverse { symbols, reason } => {
|
||||
report.diagnostics.push(format!(
|
||||
"engine_control_intent_skipped kind=update_universe count={} reason={}",
|
||||
symbols.len(),
|
||||
reason
|
||||
));
|
||||
Ok(())
|
||||
}
|
||||
OrderIntent::Subscribe { symbols, reason } => {
|
||||
report.diagnostics.push(format!(
|
||||
"engine_control_intent_skipped kind=subscribe count={} reason={}",
|
||||
symbols.len(),
|
||||
reason
|
||||
));
|
||||
Ok(())
|
||||
}
|
||||
OrderIntent::Unsubscribe { symbols, reason } => {
|
||||
report.diagnostics.push(format!(
|
||||
"engine_control_intent_skipped kind=unsubscribe count={} reason={}",
|
||||
symbols.len(),
|
||||
reason
|
||||
));
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user