How to Forecast Margins in Competitive Markets