In Japan, the electric power market has been fully deregulated since April 2016, and many Independent Power Producers have entered the electric power market. Companies participating in the market, conduct transactions between market participants to maximize their profits. When companies consider maximization of their profit, it is necessary to optimize operation of generators in consideration of market transactions. However, it is not easy to consider trading in the market because the market contains many complex and uncertain factors. Even now, the number of participating companies is increasing, and research on operation of generators in consideration of market transactions is an important field. In the power market, there are various markets such as a day-ahead market and an adjustment market, and various transactions are performed between market participants. In this study, we discuss the day-ahead market trading. In the day-ahead market, power prices and demands vary greatly depending on the trends in power sell and purchase bidding. It is necessary for business operators to set operational schedules that takes into account fluctuations in power prices and demand. We consider an optimization model of generator operation considering market transactions and apply stochastic programming to solve the problem. In addition, we show that scheduling based on the stochastic programming method is better than conventional deterministic planning.