This paper analyzes a price-taker hydro generating company which participates simultaneously in day-ahead energy and ancillary services markets. An approach for deriving marginal cost curves for energy and ancillary services is proposed, taking into consideration price uncertainty and opportunity cost of water, which can later be used to determine hourly bid curves. The proposed approach combines an hourly conditional value-at-risk, probability of occurrence of automatic generation control states and an opportunity cost of water to determine energy and ancillary services marginal cost curves. The proposed approach is in a linear constraint form and is easy to implement in optimization problems. A stochastic model of the hydro-economic river basin is presented, based on the actual Vinodol hydropower system in Croatia, with a complex three-dimensional relationship between the power produced, the discharged water, and the head of associated reservoir.