Class ClearedTrade


  • @Domain(fields={"timeslot","executionMWh","executionPrice","dateExecuted"})
    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 Detail

      • ClearedTrade

        public ClearedTrade​(int timeslot,
                            double executionMWh,
                            double executionPrice,
                            org.joda.time.Instant dateExecuted)
      • ClearedTrade

        @ChainedConstructor
        public ClearedTrade​(Timeslot timeslot,
                            double executionMWh,
                            double executionPrice,
                            org.joda.time.Instant dateExecuted)
    • Method Detail

      • getId

        public long getId()
      • getTimeslotIndex

        public int getTimeslotIndex()
      • getTimeslot

        public Timeslot getTimeslot()
      • getExecutionPrice

        public double getExecutionPrice()
      • getExecutionMWh

        public double getExecutionMWh()
      • getDateExecuted

        public org.joda.time.Instant getDateExecuted()