code: def __onTweet(self, data):
      # Refer to https://dev.twitter.com/docs/streaming-apis/messages#Public_stream_messages for
      # the information available in data.
      try:
          self.info("Twitter: %s" % (data["text"]))
      except KeyError:
          pass
  
file_path: pyalgotrade/samples/tutorial_twitter_bitstamp.py
imports: from pyalgotrade import strategy
  from pyalgotrade.bitstamp import barfeed
  from pyalgotrade.bitstamp import broker
  from pyalgotrade.twitter import feed
label_desc: Use image node_id 2 for calling the Strategy obj's underlying member method code with example usage: obj.__onTweet(data) without return types