class_docstr: A trade event.
class_docstr_tok: ["A","trade","event","."]
docstr: Returns the :class:`datetime.datetime` when this event was received.
docstr_tok: ["Returns","the",":","class",":","`","datetime.datetime","`","when","this","event","was","received","."]
code: def getDateTime(self):
      """Returns the :class:`datetime.datetime` when this event was received."""
      return self.__dateTime
  
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 2 for calling the Trade obj's underlying member method code with example usage: obj.getDateTime() and returns: self