Function process_execution_intent_for_instrument
Source pub async fn process_execution_intent_for_instrument(
app_tx: &Sender<AppEvent>,
mgr: &mut OrderManager,
instrument: &str,
source_tag: &str,
signal: Signal,
selected_symbol: &str,
order_history_limit: usize,
strategy_stats_by_instrument: &mut HashMap<String, HashMap<String, OrderHistoryStats>>,
realized_pnl_by_symbol: &mut HashMap<String, f64>,
build_scoped_stats: fn(&HashMap<String, HashMap<String, OrderHistoryStats>>) -> HashMap<String, OrderHistoryStats>,
) -> ExecutionIntentProcessResult