Skip to main content

build_rfq_resources

Function build_rfq_resources 

Source
pub async fn build_rfq_resources(
    shared_db: Arc<DatabaseHandler>,
    rfq_execute_tx: Sender<RfqExecuteRequest>,
    shutdown: &Shutdown,
    indicative_cache: Arc<IndicativeQuoteCache>,
    agent_auth: Arc<dyn AgentAuthProvider>,
    signing_chain_id: u64,
    instruments_cache: Arc<InstrumentsCache>,
    nonce_check_sender: Sender<NonceCheckRequest>,
    websocket_publisher: Option<Arc<dyn RfqWebsocketPublisher>>,
) -> Result<RfqStartupResources>