code: def getReturn(self, price=None, includeCommissions=True):
      ret = 0
      pnl = self.getPnL(
          price=price, includeCommissions=includeCommissions
      )
      if self.__totalCommited != 0:
          ret = pnl / float(self.__totalCommited)
      return ret
  
imports: import math
  from pyalgotrade import stratanalyzer
  from pyalgotrade import observer
  from pyalgotrade import dataseries
label_desc: Use image node_id 7 for calling the PositionTracker obj's underlying member method code with example usage: obj.getReturn(price, includeCommissions) and returns: ret