class_docstr: This strategy buys/sells upong the close price crossing
  upwards/downwards a Simple Moving Average.
  
  It can be a long-only strategy by setting the param "onlylong" to True
class_docstr_tok: ["This","strategy","buys\/sells","upong","the","close","price","crossing","upwards\/downwards","a","Simple","Moving","Average",".","It","can","be","a","long-only","strategy","by","setting","the","param","``","onlylong","''","to","True"]
code: def notify_trade(self, trade):
      if trade.isclosed:
          self.log(
              "TRADE PROFIT, GROSS %.2f, NET %.2f"
              % (trade.pnl, trade.pnlcomm)
          )
  
      elif trade.justopened:
          self.log("TRADE OPENED, SIZE %2d" % trade.size)
  
file_path: backtrader/samples/multitrades/multitrades.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import argparse
  import datetime
  import itertools
  import backtrader
  import backtrader.feeds
  import backtrader.indicators
  import mtradeobserver
label_desc: Use image node_id 5 for calling the MultiTradeStrategy obj's underlying member method code with example usage: obj.notify_trade(trade) without return types