Rough version to get historical quotes