Added code for getting historical price