code: def _getTop(self):
      ret = {}
      for assetClass in self.__instrumentsByClass:
          ret[assetClass] = self._getTopByClass(assetClass)
      return ret
  
imports: from __future__ import print_function
  from pyalgotrade import strategy
  from pyalgotrade import plotter
  from pyalgotrade.barfeed import yahoofeed
  from pyalgotrade.technical import ma
  from pyalgotrade.technical import cumret
  from pyalgotrade.stratanalyzer import sharpe
  from pyalgotrade.stratanalyzer import returns
label_desc: Use image node_id 5 for calling the MarketTiming obj's underlying member method code with example usage: obj._getTop() and returns: ret