code: def notify_trade(self, trade):
      if trade.isclosed:
          print("profit {}".format(trade.pnlcomm))
  
file_path: backtrader/samples/order-history/order-history.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import argparse
  import datetime
  import backtrader
label_desc: Use image node_id 2 for calling the St obj's underlying member method code with example usage: obj.notify_trade(trade) without return types