Learning oligopolistic competition in electicity auctions