def balancing_offer(self, price, energy, seller):
     offer = BalancingOffer('id', price, energy, seller)
     self.created_balancing_offers.append(offer)
     offer.id = 'id'
     return offer
Exemple #2
0
 def balancing_offer(self, price, energy, seller, market=None):
     offer = BalancingOffer('id', now(), price, energy, seller, market)
     self.created_balancing_offers.append(offer)
     offer.id = 'id'
     return offer