class_docstr: OnlineManager can manage online models with `Online Strategy <#Online Strategy>`_.
  It also provides a history recording of which models are online at what time.
docstr: Get the instance of `Collector <../advanced/task_management.html#Task Collecting>`_ to collect results from every strategy.
  This collector can be a basis as the signals preparation.
  
  Args:
      **kwargs: the params for get_collector.
  
  Returns:
      MergeCollector: the collector to merge other collectors.
docstr_tok: ["Get","the","instance","of","`","Collector","<","..","\/advanced\/task_management.html","#","Task","Collecting",">","`","_","to","collect","results","from","every","strategy",".","This","collector","can","be","a","basis","as","the","signals","preparation",".","Args",":","*","*","kwargs",":","the","params","for","get_collector",".","Returns",":","MergeCollector",":","the","collector","to","merge","other","collectors","."]
code: def get_collector(self, **kwargs) -> MergeCollector:
      """
      Get the instance of `Collector <../advanced/task_management.html#Task Collecting>`_ to collect results from every strategy.
      This collector can be a basis as the signals preparation.
  
      Args:
          **kwargs: the params for get_collector.
  
      Returns:
          MergeCollector: the collector to merge other collectors.
      """
      collector_dict = {}
      for strategy in self.strategies:
          collector_dict[strategy.name_id] = strategy.get_collector(
              **kwargs
          )
      return MergeCollector(collector_dict, process_list=[])
  
imports: import logging
  from typing import Callable, List, Union
  import pandas
  from qlib import get_module_logger
  from qlib.data.data import D
  from qlib.log import set_global_logger_level
  from qlib.model.ens.ensemble import AverageEnsemble
  from qlib.model.trainer import Trainer, TrainerR
  from qlib.utils.serial import Serializable
  from qlib.workflow.online.strategy import OnlineStrategy
  from qlib.workflow.task.collect import MergeCollector
label_desc: Use image node_id 5 for calling the OnlineManager obj's underlying member method code with example usage: obj.get_collector() and returns: MergeCollector