Interface Auctioneer


  • public interface Auctioneer
    Interface that defines the publicly accessible methods a Power TAC auctioneer has to implement.
    Author:
    Carsten Block, John Collins
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void clearMarket()
      Clears the market by matching all Orders that have arrived since the last market clearing.
      void processOrder​(Order order)
      Processes an incoming order, typically by saving it on a list for the next market clearing.
    • Method Detail

      • processOrder

        void processOrder​(Order order)
        Processes an incoming order, typically by saving it on a list for the next market clearing.
      • clearMarket

        void clearMarket()
        Clears the market by matching all Orders that have arrived since the last market clearing. Resulting transactions are created by calling addMarketTransaction() on the Accounting service. Orderbooks and ClearedTrade instances are also created and broadcast to brokers.