code: def next(self):
      super(self.__class__, self).next()
      if self.p.printdata:
          # Print only 1st data ... is just a check that things are running
          txtfields = list()
          txtfields.append("%04d" % len(self))
          txtfields.append(self.data.datetime.datetime(0).isoformat())
          txtfields.append("%.2f" % self.data0.open[0])
          txtfields.append("%.2f" % self.data0.high[0])
          txtfields.append("%.2f" % self.data0.low[0])
          txtfields.append("%.2f" % self.data0.close[0])
          txtfields.append("%.2f" % self.data0.volume[0])
          txtfields.append("%.2f" % self.data0.openinterest[0])
          print(",".join(txtfields))
  
file_path: backtrader/samples/pyfolio2/pyfoliotest.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import argparse
  import collections
  import datetime
  import backtrader
label_desc: Use image node_id 3 for calling the St obj's underlying member method code with example usage: obj.next() without return types