octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #52099] (financial) fetch_yahoo.m uses discont


From: Sébastien Villemot
Subject: [Octave-bug-tracker] [bug #52099] (financial) fetch_yahoo.m uses discontinued Yahoo API
Date: Sat, 23 Sep 2017 07:03:22 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

URL:
  <http://savannah.gnu.org/bugs/?52099>

                 Summary: (financial) fetch_yahoo.m uses discontinued Yahoo
API
                 Project: GNU Octave
            Submitted by: svillemot
            Submitted on: Sat 23 Sep 2017 11:03:21 AM UTC
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: other
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Hi,

The fetch_yahoo function of the financial package no longer works. In
particular it relies on a host (ichart.financial.yahoo.com) that no longer
exists.

Here is the output of "test fetch":


***** test
 [d f] = fetch(yahoo(), "yhoo", "01-Jul-2005", "10-Jul-2005");
 assert(d, dgood, 1e-5);
 assert(f, fgood, 1e-5);
!!!!! test failed
Could not write Yahoo data to tmp file:
Couldn't resolve host name
shared variables
  scalar structure containing the fields:

    fgood =
    {
      [1,1] = Date
      [1,2] = Open
      [1,3] = High
      [1,4] = Low
      [1,5] = Close
      [1,6] = Volume
      [1,7] = Adj Close
    }
    dgood =

       7.3250e+05   3.4770e+01   3.4870e+01   3.4250e+01   3.4620e+01  
1.5515e+07   3.4620e+01
       7.3250e+05   3.3870e+01   3.4770e+01   3.3720e+01   3.4630e+01  
1.6354e+07   3.4630e+01
       7.3250e+05   3.4640e+01   3.4970e+01   3.4030e+01   3.4120e+01  
1.3586e+07   3.4120e+01
       7.3250e+05   3.4250e+01   3.5080e+01   3.4200e+01   3.4600e+01  
1.6087e+07   3.4600e+01
       7.3249e+05   3.4760e+01   3.4850e+01   3.4220e+01   3.4440e+01  
9.8616e+06   3.4440e+01


Thanks for your work!





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?52099>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]