code: def notify_order(self, order):
      print(
          "{}: Order ref: {} / Type {} / Status {}".format(
              self.data.datetime.date(0),
              order.ref,
              "Buy" * order.isbuy() or "Sell",
              order.getstatusname(),
          )
      )
  
      if order.status == order.Completed:
          self.holdstart = len(self)
  
      if not order.alive() and order.ref in self.orefs:
          self.orefs.remove(order.ref)
  
file_path: backtrader/samples/oco/oco.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 St obj's underlying member method code with example usage: obj.notify_order(order) without return types