Interface DayAheadMarketTrader

    • Method Detail

      • extractTimesFromGateClosureInfoMessages

        default List<de.dlr.gitlab.fame.time.TimeStamp> extractTimesFromGateClosureInfoMessages​(ArrayList<de.dlr.gitlab.fame.communication.message.Message> messages)
        Searches for a single DayAheadMarket.Products.GateClosureInfo message in given messages and returns its times
        Parameters:
        messages - list of messages to search for a single one with ClearingTimes payload
        Returns:
        TimeStamps contained in the found ClearingTimes payload
        Throws:
        IllegalArgumentException - if not exactly one message contained a ClearingTimes payload
      • readGateClosureInfoMessage

        default List<de.dlr.gitlab.fame.time.TimeStamp> readGateClosureInfoMessage​(de.dlr.gitlab.fame.communication.message.Message message)
        Parameters:
        message - to be read
        Returns:
        Extracted times at which the market will be cleared