#13884: Fix optional internet tests.
----------------------------+-----------------------------------------------
       Reporter:  robertwb  |         Owner:  mvngu   
           Type:  defect    |        Status:  new     
       Priority:  major     |     Milestone:  sage-5.6
      Component:  doctest   |    Resolution:          
       Keywords:            |   Work issues:          
Report Upstream:  N/A       |     Reviewers:          
        Authors:            |     Merged in:          
   Dependencies:            |      Stopgaps:          
----------------------------+-----------------------------------------------

Comment (by kcrisman):

 Google now apparently does not return data that is more than a certain
 number of years old - or at least the interface must have changed?
 {{{

 sage: finance.Stock('F').google('Jan+3,+1978', 'Jul+7,+2008')[:1]
 [
  20-Aug-92 0.00 2.26 2.21 2.24   19202479
 ]
 sage: finance.Stock('F').google('Jan+3,+1982', 'Jul+7,+2008')[:1]
 [
  20-Aug-92 0.00 2.26 2.21 2.24   19202479
 ]
 }}}

 In fact, according to [http://googlecode.blogspot.com/2011/05/spring-
 cleaning-for-some-of-our-apis.html this blog post],
 > These APIs are now deprecated but have no scheduled shutdown date: ...
 Finance API ...
 And although the data is still there if one uses e.g. a URL
 
[http://www.google.com/finance/historical?q=AAPL&startdate=Jan%201%2C%201990&enddate=Jan%2003%2C%202013&histperiod=daily&start=5790&num=30&ei=Xs_lULgX56nQAe0t
 like this] downloading the CSV only gives you so much.

 What should we do, oh many Sage devels who are Google employees?  ;-)  I
 can fix some stuff but don't want to fix more of this if it's going to be
 gone eventually anyway.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13884#comment:9>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to