code: def notify_trade(self, trade):
      if trade.isclosed:
          self.tradecount += 1
  
file_path: backtrader/tests/test_analyzer-sqn.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import time
  import testcommon
  import backtrader
  import backtrader.indicators
label_desc: Use image node_id 2 for calling the TestStrategy obj's underlying member method code with example usage: obj.notify_trade(trade) without return types