In a competitive electricity market, a generation company (Genco) can manage its trading risk through trading electricity among multiple markets such as spot markets and contract markets. The question is how to decide the trading proportion of each market in order to maximize the Genco's profit...