fn matches_status_filter( status: &InstrumentStatus, filter: &Option<Vec<InstrumentStatus>>, ) -> bool