def METHOD_NAME(self, *, market_id, trade):
    market = self.get_market_from_market_id(market_id)
    if market is None:
        return
    self._calculate_and_buy_balancing_energy(market, trade)
    super().METHOD_NAME(market_id=market_id, trade=trade)