docstr: This method sets a `` CommissionInfo`` object for assets managed in
  the broker with the parameters. Consult the reference for
  ``CommInfoBase``
  
  If name is ``None``, this will be the default for assets for which no
  other ``CommissionInfo`` scheme can be found
docstr_tok: ["This","method","sets","a","``","CommissionInfo","``","object","for","assets","managed","in","the","broker","with","the","parameters",".","Consult","the","reference","for","``","CommInfoBase","``","If","name","is","``","None","``",",","this","will","be","the","default","for","assets","for","which","no","other","``","CommissionInfo","``","scheme","can","be","found"]
code: def setcommission(
      self,
      commission=0.0,
      margin=None,
      mult=1.0,
      commtype=None,
      percabs=True,
      stocklike=False,
      interest=0.0,
      interest_long=False,
      leverage=1.0,
      automargin=False,
      name=None,
  ):
      """This method sets a `` CommissionInfo`` object for assets managed in
      the broker with the parameters. Consult the reference for
      ``CommInfoBase``
  
      If name is ``None``, this will be the default for assets for which no
      other ``CommissionInfo`` scheme can be found
      """
  
      comm = CommInfoBase(
          commission=commission,
          margin=margin,
          mult=mult,
          commtype=commtype,
          stocklike=stocklike,
          percabs=percabs,
          interest=interest,
          interest_long=interest_long,
          leverage=leverage,
          automargin=automargin,
      )
      self.comminfo[name] = comm
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  from backtrader.comminfo import CommInfoBase
  from backtrader.metabase import MetaParams
  from backtrader.utils.py3 import with_metaclass
  from .None import fillers
  from .None import fillers
label_desc: Use image node_id 8 for calling the BrokerBase obj's underlying member method code with example usage: obj.setcommission(commission, margin, mult, commtype, percabs, stocklike, interest, interest_long, leverage, automargin, name) without return types