Fetch rates and store them in the sqlite database with a timestamp