Statistics for Managing load contract restrictions with online learning