Learn to Earn in the Markets