added time as an attribute to trade entity