0

I am trying to get google finance data for stocks. However, sometimes it hangs and takes 30 seconds to a minute, and sometimes it runs in less than 5 seconds.

from pandas.io.data import DataReader
from datetime import datetime

stock = DataReader('TSLA', 'google', datetime(2010,1,1), datetime(2016,1,1))

What's the reason for this? Is there a queue for data? Do I have a limit to how many times I can call the API in a fixed time period?

Thanks!

Bluegreen17
  • 983
  • 1
  • 11
  • 25

1 Answers1

0

There is a limit on the time of your request Pause three minutes and it will recover