Interface DayAheadMarketTrader

    • Method Detail

      • sendDayAheadMarketBids

        default void sendDayAheadMarketBids​(de.dlr.gitlab.fame.communication.Contract contract,
                                            BidData... bidData)
        Send Bids to contracted DayAheadMarket
        Parameters:
        contract - with the DayAheadMarket
        bidData - 1..N bids to be placed
      • 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