@staticmethod
  def parse_params(namespace, section_name, section_dict, schema):
    for param_name, param_def in schema.iteritems():
      if param_name in section_dict:
        if param_def[0] is bool:
          param_value = section_dict.as_bool(param_name)
        elif param_def[0] is int:
          param_value = section_dict.as_int(param_name)
        elif param_def[0] is float:
          param_value = section_dict.as_float(param_name)
        else:
          param_value = section_dict[param_name]
      else:
        # option not found, use the default value if there is.
        if param_def[1] is None:
          Log.print_critical("required option %s missed in section %s!" %
            (param_name, section_name))
        else:
          param_value = param_def[1]
      setattr(namespace, param_name, param_value)
Returns a :class:`pyalgotrade.dataseries.DataSeries` with the volume.
dataset/ETHPy150Open XiaoMi/minos/client/service_config.py/ServiceConfig.parse_params--crossover with--dataset/ETHPy150Open gbeced/pyalgotrade/pyalgotrade/dataseries/bards.py/BarDataSeries.getVolumeDataSeries