code: def __init__(self, httpClient):
      super(TradeMonitor, self).__init__()
      self.__lastTradeId = -1
      self.__httpClient = httpClient
      self.__queue = queue.Queue()
      self.__stop = False
  
imports: import threading
  import time
  from six.moves import queue
  from pyalgotrade import broker
  from pyalgotrade.bitstamp import httpclient
  from pyalgotrade.bitstamp import common
label_desc: Use image node_id 1 to create a new TradeMonitor object from inherited base classes: threading with example: obj = TradeMonitor(httpClient)