code: def stop(self):
      global _chkvalues
      global _chkcash
  
      tused = time_clock() - self.tstart
      if self.p.printdata:
          self.log(
              (
                  "Time used: %s  - Period % d - "
                  "Start value: %.2f - End value: %.2f"
              )
              % (
                  str(tused),
                  self.p.period,
                  self.broker.startingcash,
                  self.broker.getvalue(),
              )
          )
  
      value = "%.2f" % self.broker.getvalue()
      _chkvalues.append(value)
  
      cash = "%.2f" % self.broker.getcash()
      _chkcash.append(cash)
  
file_path: backtrader/tests/test_strategy_optimized.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import itertools
  import time
  import testcommon
  from backtrader.utils.py3 import range
  import backtrader
  import backtrader.indicators
label_desc: Use image node_id 4 for calling the TestStrategy obj's underlying member method code with example usage: obj.stop() without return types