Online Earning in Finance