code: def _getsizing(self, comminfo, cash, data, isbuy):
      dt, i = self.strategy.datetime.date(), data._id
      s = self.p.stake * (1 + (not isbuy))
      print(
          "{} Data {} OType {} Sizing to {}".format(
              dt, data._name, ("buy" * isbuy) or "sell", s
          )
      )
  
      return s
  
file_path: backtrader/samples/multi-example/mult-values.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import argparse
  import datetime
  import backtrader
label_desc: Use image node_id 1 for calling the TestSizer obj's underlying member method code with example usage: obj._getsizing(comminfo, cash, data, isbuy) and returns: s