code: def notify_data(self, data, status, *args, **kwargs):
      print("*" * 5, "DATA NOTIF:", data._getstatusname(status), *args)
      if status == data.LIVE:
          self.counttostop = self.p.stopafter
          self.datastatus = 1
  
file_path: backtrader/samples/ibtest/ibtest.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import argparse
  import datetime
  import backtrader
  from backtrader.utils import flushfile
label_desc: Use image node_id 2 for calling the TestStrategy obj's underlying member method code with example usage: obj.notify_data(data, status) without return types