Email Record: Foundations of reinforcement learning with applications in finance /