org.powertac.common
Class ClearedTrade
java.lang.Object
org.powertac.common.ClearedTrade
public class ClearedTrade
- extends Object
A ClearedTrade instance reports public information about a specific
market clearing -- clearing price and total quantity traded. Each time
the market is cleared, a ClearedTrade is generated at least for each
timeslot in which a non-zero quantity was traded.
- Author:
- Daniel Schnurr, John Collins
|
Constructor Summary |
ClearedTrade(Timeslot timeslot,
double executionMWh,
double executionPrice,
org.joda.time.Instant dateExecuted)
|
ClearedTrade
public ClearedTrade(Timeslot timeslot,
double executionMWh,
double executionPrice,
org.joda.time.Instant dateExecuted)
getId
public long getId()
getTimeslot
public Timeslot getTimeslot()
getExecutionPrice
public double getExecutionPrice()
getExecutionMWh
public double getExecutionMWh()
getDateExecuted
public org.joda.time.Instant getDateExecuted()
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2011. All Rights Reserved.