The electricity market is a system that allows purchases through bids to buy; offers to sell; and short-term trades, often in the form of financial or obligation swaps. Offers and bids use the principle of supply and demand to set the pricing. Long-term trades are typically private bi-lateral transactions and are contracts similar to those of power purchase agreements.
Read more at:
http://nikolasperrault.net/what-is-spot-electricity-trading-and-how-does-the-market-work/