class_docstr: A trade event.
class_docstr_tok: ["A","trade","event","."]
docstr: Returns the trade id.
docstr_tok: ["Returns","the","trade","id","."]
code: def getId(self):
      """Returns the trade id."""
      return self.getData()["id"]
  
imports: import datetime
  from six.moves import queue
  from pyalgotrade.websocket import pusher
  from pyalgotrade.websocket import client
  from pyalgotrade.bitstamp import common
label_desc: Use image node_id 3 for calling the Trade obj's underlying member method code with example usage: obj.getId() and returns: self