Quantitative analysis of energy markets