Learning to Buy (and Sell) Demand Response*. Issue 1 (July 2017)